correction for home menu popping up on game load

This commit is contained in:
dborth 2009-05-30 06:47:05 +00:00
parent b269d3583d
commit ba6a55d50c
4 changed files with 2 additions and 5 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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

View File

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