tweak zoom resetting

This commit is contained in:
dborth 2008-09-23 04:54:53 +00:00
parent f10ee29ac0
commit 24303a8ab6
2 changed files with 9 additions and 4 deletions

View File

@ -4,7 +4,7 @@
* softdev July 2006 * softdev July 2006
* svpe June 2007 * svpe June 2007
* crunchy2 May-July 2007 * crunchy2 May-July 2007
* Michniewski 2008 * Michniewski 2008
* Tantric August 2008 * Tantric August 2008
* *
* filesel.cpp * filesel.cpp
@ -20,12 +20,10 @@
#include <sys/dir.h> #include <sys/dir.h>
#ifdef WII_DVD #ifdef WII_DVD
#ifdef __cplusplus
extern "C" { extern "C" {
#include <di/di.h> #include <di/di.h>
} }
#endif #endif
#endif
#include "snes9x.h" #include "snes9x.h"
#include "memmap.h" #include "memmap.h"

View File

@ -106,6 +106,9 @@ LoadManager ()
// setup cheats // setup cheats
SetupCheats(); SetupCheats();
// reset zoom
zoom_reset ();
} }
return loadROM; return loadROM;
@ -564,6 +567,7 @@ GameMenu ()
break; break;
case 1: // Reset Game case 1: // Reset Game
zoom_reset ();
S9xSoftReset (); S9xSoftReset ();
quit = retval = 1; quit = retval = 1;
break; break;
@ -578,6 +582,7 @@ GameMenu ()
break; break;
case 4: // Load SRAM case 4: // Load SRAM
zoom_reset ();
quit = retval = LoadSRAM(GCSettings.SaveMethod, NOTSILENT); quit = retval = LoadSRAM(GCSettings.SaveMethod, NOTSILENT);
break; break;
@ -586,6 +591,7 @@ GameMenu ()
break; break;
case 6: // Load Freeze case 6: // Load Freeze
zoom_reset ();
quit = retval = NGCUnfreezeGame (GCSettings.SaveMethod, NOTSILENT); quit = retval = NGCUnfreezeGame (GCSettings.SaveMethod, NOTSILENT);
break; break;
@ -595,6 +601,7 @@ GameMenu ()
case 8: // Reset Zoom case 8: // Reset Zoom
zoom_reset (); zoom_reset ();
quit = retval = 1;
break; break;
case -1: // Button B case -1: // Button B