Document gMain.unk65 -> gMain.screensFlipped

This commit is contained in:
tgsm 2021-08-20 17:27:56 -04:00
parent 7f998da0ac
commit 614fcf2c7c
7 changed files with 7 additions and 7 deletions

View File

@ -96,7 +96,7 @@ THUMB_FUNC void GX_BothDispOn()
THUMB_FUNC void GX_SwapDisplay()
{
if (gMain.unk65 == 0)
if (gMain.screensFlipped == 0)
{
GX_SetDispSelect(GX_DISP_SELECT_MAIN_SUB);
}

View File

@ -107,7 +107,7 @@ THUMB_FUNC void ShowCommunicationError(u32 heap_id, u32 error, u32 error_code)
SetKeyRepeatTimers(4, 8);
gMain.unk65 = 0;
gMain.screensFlipped = 0;
GX_SwapDisplay();
reg_G2_BLDCNT = 0;

View File

@ -85,7 +85,7 @@ THUMB_FUNC void PrintErrorMessageAndReset()
SetKeyRepeatTimers(4, 8);
gMain.unk65 = 0;
gMain.screensFlipped = 0;
GX_SwapDisplay();
G2_BlendNone();

View File

@ -163,7 +163,7 @@ void InitSystemForTheGame(void)
gMain.unk10 = 0;
gMain.unk14 = 0;
gMain.unk2C = 0;
gMain.unk65 = 0;
gMain.screensFlipped = 0;
}
void InitGraphicMemory(void)

View File

@ -76,7 +76,7 @@ THUMB_FUNC void ShowSaveDataReadError(u32 heap_id)
SetKeyRepeatTimers(4, 8);
gMain.unk65 = 0;
gMain.screensFlipped = 0;
GX_SwapDisplay();
reg_G2_BLDCNT = 0;

View File

@ -83,7 +83,7 @@ THUMB_FUNC void ShowWFCUserInfoWarning(u32 heap_id, u32 a1)
SetKeyRepeatTimers(4, 8);
gMain.unk65 = 0;
gMain.screensFlipped = 0;
GX_SwapDisplay();
reg_G2_BLDCNT = 0;

View File

@ -94,7 +94,7 @@ struct Main
u16 touchNew;
u16 touchHeld;
u8 touchpadReadAuto;
u8 unk65;
u8 screensFlipped;
u8 unk66;
u8 unk67;
u8 softResetDisabled;