SDL - hotkey Q for toggling read-only/read+write
This commit is contained in:
parent
f15a131a20
commit
67c9ed20fd
|
@ -1,3 +1,4 @@
|
|||
11-apr-2009 - shinydoofy - sdl - dropped UTFConverter.c from SDL build and added hotkey Q for toggling read-only/read+write movie playback
|
||||
04-apr-2009 - shinydoofy - fixed fcm->fm2 code once again (this time for good, hopefully). Thanks to Bisqwit!
|
||||
04-apr-2009 - shinydoofy - Reverted UTF8<->UTF32 code changes to fix up the win32 build for now
|
||||
01-apr-2009 - adelikat - Beginning 2.1.1
|
||||
|
|
|
@ -303,6 +303,7 @@ InitConfig()
|
|||
config->addOption(prefix + "IncreaseSpeed", SDLK_EQUALS);
|
||||
config->addOption(prefix + "FrameAdvance", SDLK_BACKSLASH);
|
||||
config->addOption(prefix + "InputDisplay", SDLK_i);
|
||||
config->addOption(prefix + "MovieToggleReadWrite", SDLK_q);
|
||||
#ifdef CREATE_AVI
|
||||
config->addOption(prefix + "MuteCapture", SDLK_DELETE);
|
||||
#endif
|
||||
|
|
|
@ -168,6 +168,7 @@ int movieToggleFrameDisplayKey;
|
|||
int lagCounterDisplayKey;
|
||||
int SubtitleDisplayKey;
|
||||
int InputDisplayKey;
|
||||
int movieToggleReadWriteKey;
|
||||
#ifdef CREATE_AVI
|
||||
int MuteCaptureKey;
|
||||
#endif
|
||||
|
@ -208,6 +209,7 @@ void setHotKeys()
|
|||
g_config->getOption("SDL.Hotkeys.MovieToggleFrameDisplay", &movieToggleFrameDisplayKey);
|
||||
g_config->getOption("SDL.Hotkeys.SubtitleDisplay", &SubtitleDisplayKey);
|
||||
g_config->getOption("SDL.Hotkeys.InputDisplay", &InputDisplayKey);
|
||||
g_config->getOption("SDL.Hotkeys.MovieToggleReadWrite", &movieToggleReadWriteKey);
|
||||
#ifdef CREATE_AVI
|
||||
g_config->getOption("SDL.Hotkeys.MuteCapture", &MuteCaptureKey);
|
||||
#endif
|
||||
|
@ -423,6 +425,10 @@ KeyboardCommands()
|
|||
g_config->setOption("SDL.InputDisplay", input_display);
|
||||
}
|
||||
|
||||
if(_keyonly(movieToggleReadWriteKey)) {
|
||||
FCEUI_SetMovieToggleReadOnly(!FCEUI_GetMovieToggleReadOnly());
|
||||
}
|
||||
|
||||
#ifdef CREATE_AVI
|
||||
if(_keyonly(MuteCaptureKey)) {
|
||||
extern int mutecapture;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
my_list = Split("""
|
||||
ConvertUTF.c
|
||||
crc32.cpp
|
||||
endian.cpp
|
||||
general.cpp
|
||||
|
|
Loading…
Reference in New Issue