aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2021-06-07 20:51:51 +0100
committerWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2021-06-07 20:51:51 +0100
commitf94b784c4d0f2eace8e985f8edc53084666d203a (patch)
tree154537a4d14cbee9c58f32e87f27edcc4aaf6a40
parent1793abcfb4b4e7b81ddba1058e14b05f3c96973a (diff)
Use printf format macro here
-rw-r--r--src/NDS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp
index 520f7a9..53f57ca 100644
--- a/src/NDS.cpp
+++ b/src/NDS.cpp
@@ -3570,7 +3570,7 @@ void ARM9IOWrite32(u32 addr, u32 val)
}
// NO$GBA debug register "Char Out"
- case 0x04FFFA1C: printf("%lc", val); return;
+ case 0x04FFFA1C: printf("%" PRIu32, val); return;
}
if (addr >= 0x04000000 && addr < 0x04000060)