-Fix standalone version getting invalid window on start, plugin mode works fine

This commit is contained in:
Juan Ruvalcaba 2016-02-06 18:35:07 -07:00
parent 1b98e95a3d
commit 15d791e87d
2 changed files with 7 additions and 3 deletions

View File

@ -2,8 +2,8 @@
<app version="1">
<name>Snes9x GX</name>
<coder>Tantric, Zopenko, Askot</coder>
<version>4.3.5</version>
<release_date>20160206</release_date>
<version>4.3.5-fix1</version>
<release_date>20160216</release_date>
<short_description>Super Nintendo Emulator</short_description>
<long_description>A port of Snes9x to the Wii.</long_description>
<ahb_access />

View File

@ -518,7 +518,11 @@ int main(int argc, char *argv[])
// MainMenu(MENU_GAME);
if(!autoboot)
{
MainMenu(MENU_GAME);
if(SNESROMSize == 0)
MainMenu(MENU_GAMESELECTION);
else
MainMenu(MENU_GAME);
ConfigRequested = 0;
ScreenshotRequested = 0;
}