summaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2022-03-05 11:43:58 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2022-03-05 19:09:49 +0100
commitd6bbbf2db6bd078a887138506bec5abcc36b3020 (patch)
treeed21da6d5dcf2db20e4022830903b5ba19443c87 /src/debug.c
parentd18fed1fb9d52eb8c4be311d3c55bf4d29893d93 (diff)
Improve LayerStruct
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.c b/src/debug.c
index eaa65981..f7f70c8a 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -33,12 +33,12 @@ void sub_0805FA04(void) {
gScreen.bg3.control = BGCNT_SCREENBASE(30) | BGCNT_PRIORITY(3) | BGCNT_CHARBASE(3);
gScreen.bg3.updated = 1;
MessageInitialize();
- MemClear((void*)&gUnk_02032EC0, sizeof(UI));
+ MemClear((void*)&gUI, sizeof(UI));
MemClear((void*)&gGenericMenu, sizeof(GenericMenu));
gGenericMenu.unk16 = gSaveHeader->language;
LoadGfxGroups();
SetColor(0, 0x1144);
- gMain.state = 1;
+ gMain.state = GAMETASK_INIT;
InitSoundPlayingInfo();
ResetFadeMask();
}