Removed SAVE_TYPE_ERROR_SCREEN config (#7836)

This commit is contained in:
Eduardo Quezada 2025-10-02 14:55:39 -03:00 committed by GitHub
parent 168e421033
commit 232503de4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -6,7 +6,7 @@
// still has them in the ROM. This is because the developers forgot
// to define NDEBUG before release, however this has been changed as
// Ruby's actual debug build does not use the AGBPrint features.
//
//
// Use `make release` to automatically enable NDEBUG.
#ifdef RELEASE
#define NDEBUG
@ -88,5 +88,4 @@
// Naming Screen
#define AUTO_LOWERCASE_KEYBOARD GEN_LATEST // Starting in GEN_6, after entering the first uppercase character, the keyboard switches to lowercase letters.
#define SAVE_TYPE_ERROR_SCREEN FALSE // When enabled, this shows an error message when the game is loaded on a cart without a flash chip or on an emulator with the wrong save type setting instead of crashing.
#endif // GUARD_CONFIG_GENERAL_H

View File

@ -116,7 +116,7 @@ void AgbMain(void)
gSoftResetDisabled = FALSE;
if (gFlashMemoryPresent != TRUE)
SetMainCallback2((SAVE_TYPE_ERROR_SCREEN) ? CB2_FlashNotDetectedScreen : NULL);
SetMainCallback2(CB2_FlashNotDetectedScreen);
gLinkTransferringData = FALSE;