From 15d791e87dff4cc001cecc40fd6a036306c75e51 Mon Sep 17 00:00:00 2001 From: Juan Ruvalcaba Date: Sat, 6 Feb 2016 18:35:07 -0700 Subject: [PATCH] -Fix standalone version getting invalid window on start, plugin mode works fine --- hbc/meta.xml | 4 ++-- source/snes9xgx.cpp | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hbc/meta.xml b/hbc/meta.xml index f5ed7dc..fb24c38 100644 --- a/hbc/meta.xml +++ b/hbc/meta.xml @@ -2,8 +2,8 @@ Snes9x GX Tantric, Zopenko, Askot - 4.3.5 - 20160206 + 4.3.5-fix1 + 20160216 Super Nintendo Emulator A port of Snes9x to the Wii. diff --git a/source/snes9xgx.cpp b/source/snes9xgx.cpp index 6e99fc3..155c5f2 100644 --- a/source/snes9xgx.cpp +++ b/source/snes9xgx.cpp @@ -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; }