mirror of
https://github.com/dborth/vbagx.git
synced 2025-01-14 11:39:07 +01:00
correction for home menu popping up on game load
This commit is contained in:
parent
b269d3583d
commit
ba6a55d50c
@ -526,7 +526,6 @@ u32 TMNTGBA2Input(unsigned short pad) {
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
u32 gc = PAD_ButtonsHeld(pad);
|
u32 gc = PAD_ButtonsHeld(pad);
|
||||||
u32 released = PAD_ButtonsUp(pad);
|
|
||||||
// DPad moves
|
// DPad moves
|
||||||
if (gc & PAD_BUTTON_UP)
|
if (gc & PAD_BUTTON_UP)
|
||||||
J |= VBA_UP;
|
J |= VBA_UP;
|
||||||
|
@ -2652,7 +2652,6 @@ static int MenuSettingsVideo()
|
|||||||
int ret;
|
int ret;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
OptionList options;
|
OptionList options;
|
||||||
char Buffer[1024];
|
|
||||||
|
|
||||||
sprintf(options.name[i++], "Rendering");
|
sprintf(options.name[i++], "Rendering");
|
||||||
sprintf(options.name[i++], "Scaling");
|
sprintf(options.name[i++], "Scaling");
|
||||||
@ -3803,7 +3802,6 @@ GXColor GetCol(int i) {
|
|||||||
static int MenuPalette()
|
static int MenuPalette()
|
||||||
{
|
{
|
||||||
int menu = MENU_NONE;
|
int menu = MENU_NONE;
|
||||||
char s[4];
|
|
||||||
|
|
||||||
GuiText titleTxt("Palette", 28, (GXColor){255, 255, 255, 255});
|
GuiText titleTxt("Palette", 28, (GXColor){255, 255, 255, 255});
|
||||||
titleTxt.SetAlignment(ALIGN_LEFT, ALIGN_TOP);
|
titleTxt.SetAlignment(ALIGN_LEFT, ALIGN_TOP);
|
||||||
|
@ -265,7 +265,6 @@ int main(int argc, char *argv[])
|
|||||||
// since we're entering the menu
|
// since we're entering the menu
|
||||||
ResumeDeviceThread();
|
ResumeDeviceThread();
|
||||||
|
|
||||||
ConfigRequested = 1;
|
|
||||||
SwitchAudioMode(1);
|
SwitchAudioMode(1);
|
||||||
|
|
||||||
if(!ROMLoaded)
|
if(!ROMLoaded)
|
||||||
@ -274,6 +273,7 @@ int main(int argc, char *argv[])
|
|||||||
MainMenu(MENU_GAME);
|
MainMenu(MENU_GAME);
|
||||||
|
|
||||||
ConfigRequested = 0;
|
ConfigRequested = 0;
|
||||||
|
ScreenshotRequested = 0;
|
||||||
SwitchAudioMode(0);
|
SwitchAudioMode(0);
|
||||||
|
|
||||||
// stop checking if devices were removed/inserted
|
// stop checking if devices were removed/inserted
|
||||||
|
@ -143,8 +143,8 @@ copy_to_xfb (u32 arg)
|
|||||||
{
|
{
|
||||||
if(ScreenshotRequested)
|
if(ScreenshotRequested)
|
||||||
{
|
{
|
||||||
TakeScreenshot();
|
|
||||||
ScreenshotRequested = 0;
|
ScreenshotRequested = 0;
|
||||||
|
TakeScreenshot();
|
||||||
ConfigRequested = 1;
|
ConfigRequested = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user