From 8d7996dc5b67940663115b98f7fe13322dc92c55 Mon Sep 17 00:00:00 2001 From: psf <77138753+pkmnsnfrn@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:06:04 -0700 Subject: [PATCH] Added constant to expansion inclusive copyright magic number (#5413) * Added constant to expansion inclusive copyright magic number * Fixed open brackets --- src/intro.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intro.c b/src/intro.c index cda31aa15b..5409833733 100644 --- a/src/intro.c +++ b/src/intro.c @@ -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();