correction for home menu popping up on game load

This commit is contained in:
dborth 2009-05-30 06:45:57 +00:00
parent 46b109c168
commit ae402f0ca1
2 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,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)
@ -302,6 +301,7 @@ int main(int argc, char *argv[])
currentMode = GCSettings.render; currentMode = GCSettings.render;
currentTiming = GCSettings.timing; currentTiming = GCSettings.timing;
ConfigRequested = 0; ConfigRequested = 0;
ScreenshotRequested = 0;
SwitchAudioMode(0); SwitchAudioMode(0);
// stop checking if devices were removed/inserted // stop checking if devices were removed/inserted

View File

@ -281,8 +281,8 @@ copy_to_xfb (u32 arg)
{ {
if(ScreenshotRequested) if(ScreenshotRequested)
{ {
TakeScreenshot();
ScreenshotRequested = 0; ScreenshotRequested = 0;
TakeScreenshot();
ConfigRequested = 1; ConfigRequested = 1;
} }