mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-24 11:39:21 +01:00
tweak zoom resetting
This commit is contained in:
parent
f10ee29ac0
commit
24303a8ab6
@ -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"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user