summaryrefslogtreecommitdiff
path: root/src/save_failed_screen.c
diff options
context:
space:
mode:
authorKaz <kazbloxmc@gmail.com>2020-06-08 04:12:23 -0400
committerKaz <kazbloxmc@gmail.com>2020-06-08 04:12:23 -0400
commit2ec8ae4bec77ae4c5dac798a44e497d33be5dd7f (patch)
treefc96f4194c338567494e42343c7f0283a5bf4da4 /src/save_failed_screen.c
parent575440fb78a4a8fe0b5e8243a363c66addcfb05b (diff)
Preliminary support for English rev0 debug. Matching but still needs
cleaning up. Rename DEBUG_TRANSLATE to DEBUG_FIX now that we have actual English Debug ROMs. Add Sapphire German "first edition" debug support, now that we have a hash for it. Fix an obvious nonmatching.
Diffstat (limited to 'src/save_failed_screen.c')
-rw-r--r--src/save_failed_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/save_failed_screen.c b/src/save_failed_screen.c
index f5544bc65..9ef5f541c 100644
--- a/src/save_failed_screen.c
+++ b/src/save_failed_screen.c
@@ -155,7 +155,7 @@ static void CB2_WipeSave(void)
gSaveFailedClockInfo[0] = TRUE;
-#if DEBUG
+#if (DEBUG && !(ENGLISH && REVISION == 0))
if (gUnknown_Debug_03004BD0 != 0)
gDamagedSaveSectors = 1;
#endif
@@ -277,7 +277,7 @@ static bool8 IsSectorNonEmpty(u16 sector)
ReadFlash(sector, 0, ptr, 4096);
-#if DEBUG // Don't verify the sector wipe?
+#if (DEBUG && !(ENGLISH && REVISION == 0)) // Don't verify the sector wipe?
for (i = 0; i < 0x400; i++, ptr++)
;
return gUnknown_Debug_03004BD0;