diff options
author | YamaArashi <shadow962@live.com> | 2016-12-29 15:16:03 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-12-29 15:16:03 -0800 |
commit | 47f0942e21381b871d95a9e4e25c9ddd810c542f (patch) | |
tree | 6ea81654be4d7ef7958cc42dd2b75ce5e552d2d6 | |
parent | 97aecd23b88060691bbfb7fcb36b7c3c88c254d2 (diff) |
second save_failed_screen.c bugfix
-rw-r--r-- | include/config.h | 4 | ||||
-rw-r--r-- | src/save_failed_screen.c | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h index 65f176e19..5ee062006 100644 --- a/include/config.h +++ b/include/config.h @@ -11,9 +11,11 @@ #if REVISION >= 1 #define BUGFIX_GLYPHWIDTH -#define BUGFIX_SAVEFAILEDSCREEN +#define BUGFIX_SAVEFAILEDSCREEN1 #endif +// #define BUGFIX_SAVEFAILEDSCREEN2 + // European editions of Ruby/Sapphire and all editions of Emerald have this fix. // #define BUGFIX_TRAINERAPPROACH diff --git a/src/save_failed_screen.c b/src/save_failed_screen.c index 7d5483fbf..41e61eadb 100644 --- a/src/save_failed_screen.c +++ b/src/save_failed_screen.c @@ -10,9 +10,9 @@ #include "gba/flash_internal.h" #include "asm.h" -// In 1.0, the text window is too small, causing text to overflow. +// In English 1.0, the text window is too small, causing text to overflow. -#ifdef BUGFIX_SAVEFAILEDSCREEN +#ifdef BUGFIX_SAVEFAILEDSCREEN1 #define MSG_WIN_TOP 10 #else #define MSG_WIN_TOP 12 @@ -160,7 +160,12 @@ static void CB2_WipeSave(void) sub_8125C3C(gUnknown_0203933C); if (gUnknown_03005EA8) + { +#ifdef BUGFIX_SAVEFAILEDSCREEN2 + MenuDrawTextWindow(1, MSG_WIN_TOP, 28, 19); +#endif MenuPrint(gSystemText_SaveFailedBackupCheck, 2, MSG_WIN_TOP + 1); + } wipeTries++; } |