From b19c77d1c9ec659a331e29f38b157891364d93ec Mon Sep 17 00:00:00 2001 From: "easyaspi314 (Devin)" Date: Sun, 25 Aug 2019 21:06:57 -0400 Subject: Replace asm("") with ++ --. agbcc is weird --- src/debug/start_menu_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/start_menu_debug.c b/src/debug/start_menu_debug.c index 0520e7118..c0d6a3c76 100644 --- a/src/debug/start_menu_debug.c +++ b/src/debug/start_menu_debug.c @@ -1400,7 +1400,7 @@ void DebugMenu_ConvertBuildDate(const char *buildDateStr, u8 *out) // Prevents register allocation swap // Intended: r7 = out, r6 = gDebugBuildDate->numDigits // Observed: r6 = out, r7 = gDebugBuildDate->numDigits - asm(""); + ++out; --out; gDebugBuildDate = gDebugBuildDateInfo; *out++ = CHAR_SPACE; -- cgit v1.2.3