mirror of
https://github.com/pret/pokediamond.git
synced 2026-08-06 18:53:21 -05:00
Document gMain.unk65 -> gMain.screensFlipped
This commit is contained in:
parent
7f998da0ac
commit
614fcf2c7c
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ THUMB_FUNC void PrintErrorMessageAndReset()
|
|||
|
||||
SetKeyRepeatTimers(4, 8);
|
||||
|
||||
gMain.unk65 = 0;
|
||||
gMain.screensFlipped = 0;
|
||||
GX_SwapDisplay();
|
||||
|
||||
G2_BlendNone();
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ struct Main
|
|||
u16 touchNew;
|
||||
u16 touchHeld;
|
||||
u8 touchpadReadAuto;
|
||||
u8 unk65;
|
||||
u8 screensFlipped;
|
||||
u8 unk66;
|
||||
u8 unk67;
|
||||
u8 softResetDisabled;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user