summaryrefslogtreecommitdiff
path: root/src/save.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.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.c')
-rw-r--r--src/save.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/save.c b/src/save.c
index 3eeea88de..3b6cabe6a 100644
--- a/src/save.c
+++ b/src/save.c
@@ -738,7 +738,7 @@ u8 Save_WriteDataInternal(u8 saveType)
return 0;
}
-#if DEBUG
+#if (DEBUG && GERMAN)
extern u32 gUnknown_Debug_03004BD0;
#endif
@@ -749,7 +749,7 @@ u8 Save_WriteData(u8 saveType) // TrySave
Save_WriteDataInternal(saveType);
if (!gDamagedSaveSectors
-#if DEBUG
+#if (DEBUG && GERMAN)
&& gUnknown_Debug_03004BD0 == 0
#endif
)