added toggle to bind savestates to movie for SDL
This commit is contained in:
parent
ed0a6e5753
commit
cb68bc0631
|
@ -1,4 +1,5 @@
|
||||||
---version 2.0.3 yet to be released---
|
---version 2.0.3 yet to be released---
|
||||||
|
19-oct-2008 - shinydoofy - [ 2179829 ] user ability to toggle "bind savestates to movie" added for SDL, default hotkey F2
|
||||||
19-oct-2008 - adelikat - winew - added a toggle for binding savestates to movies
|
19-oct-2008 - adelikat - winew - added a toggle for binding savestates to movies
|
||||||
18-oct-2008 - adelikat - Win32 - added -cfg (config file) command line argument
|
18-oct-2008 - adelikat - Win32 - added -cfg (config file) command line argument
|
||||||
08-oct-2008 - zeromus - SF [ 2073105 ] Laptop Volume Control keys make FCEUX go crazy and crash
|
08-oct-2008 - zeromus - SF [ 2073105 ] Laptop Volume Control keys make FCEUX go crazy and crash
|
||||||
|
|
|
@ -280,6 +280,7 @@ InitConfig()
|
||||||
config->addOption(prefix + "IncreaseSpeed", SDLK_EQUALS);
|
config->addOption(prefix + "IncreaseSpeed", SDLK_EQUALS);
|
||||||
config->addOption(prefix + "FrameAdvance", SDLK_BACKSLASH);
|
config->addOption(prefix + "FrameAdvance", SDLK_BACKSLASH);
|
||||||
config->addOption(prefix + "Power", 0);
|
config->addOption(prefix + "Power", 0);
|
||||||
|
config->addOption(prefix + "BindState", SDLK_F2);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
#ifdef _S9XLUA_H
|
#ifdef _S9XLUA_H
|
||||||
#include "../../fceulua.h"
|
#include "../../fceulua.h"
|
||||||
#endif
|
#endif
|
||||||
|
#include "../../file.h"
|
||||||
|
|
||||||
|
|
||||||
/** GLOBALS **/
|
/** GLOBALS **/
|
||||||
|
@ -376,6 +377,13 @@ KeyboardCommands()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
g_config->getOption("SDL.Hotkeys.BindState", &key);
|
||||||
|
if(_keyonly(key)) {
|
||||||
|
bindSavestate = !bindSavestate;
|
||||||
|
FCEUI_DispMessage("Savestate binding to movie %sabled.",
|
||||||
|
bindSavestate ? "en" : "dis");
|
||||||
|
}
|
||||||
|
|
||||||
// VS Unisystem games
|
// VS Unisystem games
|
||||||
if(gametype == GIT_VSUNI) {
|
if(gametype == GIT_VSUNI) {
|
||||||
// insert coin
|
// insert coin
|
||||||
|
|
Loading…
Reference in New Issue