Added constant to expansion inclusive copyright magic number (#5413)

* Added constant to expansion inclusive copyright magic number

* Fixed open brackets
This commit is contained in:
psf 2024-10-18 14:06:04 -07:00 committed by GitHub
parent 3077592e68
commit 8d7996dc5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -114,6 +114,7 @@ extern const struct SpriteTemplate gAncientPowerRockSpriteTemplate[];
enum {
COPYRIGHT_INITIALIZE,
COPYRIGHT_EMULATOR_BLEND,
COPYRIGHT_START_FADE = 140,
COPYRIGHT_START_INTRO,
};
@ -1104,7 +1105,7 @@ static u8 SetUpCopyrightScreen(void)
GameCubeMultiBoot_Init(&gMultibootProgramStruct);
// REG_DISPCNT needs to be overwritten the second time, because otherwise the intro won't show up on VBA 1.7.2 and John GBA Lite emulators.
// The REG_DISPCNT overwrite is NOT needed in m-GBA, No$GBA, VBA 1.8.0, My Boy and Pizza Boy GBA emulators.
case 1:
case COPYRIGHT_EMULATOR_BLEND:
REG_DISPCNT = DISPCNT_MODE_0 | DISPCNT_OBJ_1D_MAP | DISPCNT_BG0_ON;
default:
UpdatePaletteFade();