mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-26 10:41:50 +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
|
||||
u32 gc = PAD_ButtonsHeld(pad);
|
||||
u32 released = PAD_ButtonsUp(pad);
|
||||
// DPad moves
|
||||
if (gc & PAD_BUTTON_UP)
|
||||
J |= VBA_UP;
|
||||
|
@ -2652,7 +2652,6 @@ static int MenuSettingsVideo()
|
||||
int ret;
|
||||
int i = 0;
|
||||
OptionList options;
|
||||
char Buffer[1024];
|
||||
|
||||
sprintf(options.name[i++], "Rendering");
|
||||
sprintf(options.name[i++], "Scaling");
|
||||
@ -3803,7 +3802,6 @@ GXColor GetCol(int i) {
|
||||
static int MenuPalette()
|
||||
{
|
||||
int menu = MENU_NONE;
|
||||
char s[4];
|
||||
|
||||
GuiText titleTxt("Palette", 28, (GXColor){255, 255, 255, 255});
|
||||
titleTxt.SetAlignment(ALIGN_LEFT, ALIGN_TOP);
|
||||
|
@ -265,7 +265,6 @@ int main(int argc, char *argv[])
|
||||
// since we're entering the menu
|
||||
ResumeDeviceThread();
|
||||
|
||||
ConfigRequested = 1;
|
||||
SwitchAudioMode(1);
|
||||
|
||||
if(!ROMLoaded)
|
||||
@ -274,6 +273,7 @@ int main(int argc, char *argv[])
|
||||
MainMenu(MENU_GAME);
|
||||
|
||||
ConfigRequested = 0;
|
||||
ScreenshotRequested = 0;
|
||||
SwitchAudioMode(0);
|
||||
|
||||
// stop checking if devices were removed/inserted
|
||||
|
@ -143,8 +143,8 @@ copy_to_xfb (u32 arg)
|
||||
{
|
||||
if(ScreenshotRequested)
|
||||
{
|
||||
TakeScreenshot();
|
||||
ScreenshotRequested = 0;
|
||||
TakeScreenshot();
|
||||
ConfigRequested = 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user