added toggle for movie auot-backup for SDL
This commit is contained in:
parent
d8d239e35d
commit
3ee98c538f
|
@ -1,4 +1,5 @@
|
||||||
---version 2.0.4 yet to be released---
|
---version 2.0.4 yet to be released---
|
||||||
|
22-dec-2008 - shinydoofy - sdl - added Shift+M for toggling automatic movie backups for SDL
|
||||||
22-dec-2008 - adelikat - Movie auto-backup feature implemented
|
22-dec-2008 - adelikat - Movie auto-backup feature implemented
|
||||||
22-dec-2008 - adelikat - win32 - moved movie related menu items to a movie options dialog box
|
22-dec-2008 - adelikat - win32 - moved movie related menu items to a movie options dialog box
|
||||||
22-dec-2008 - adelikat - Win32 - context menu item "create backup" for backing up movie files
|
22-dec-2008 - adelikat - Win32 - context menu item "create backup" for backing up movie files
|
||||||
|
|
|
@ -332,6 +332,14 @@ KeyboardCommands()
|
||||||
NoWaiting |= 1;
|
NoWaiting |= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Toggle Movie auto-backup
|
||||||
|
if(keyonly(M) && is_shift) {
|
||||||
|
autoMovieBackup ^= 1;
|
||||||
|
FCEUI_DispMessage("Automatic movie backup %sabled.",
|
||||||
|
autoMovieBackup ? "en" : "dis");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Famicom disk-system games
|
// Famicom disk-system games
|
||||||
if(gametype==GIT_FDS)
|
if(gametype==GIT_FDS)
|
||||||
{
|
{
|
||||||
|
|
|
@ -573,7 +573,6 @@ SDL_GL_LoadLibrary(0);
|
||||||
// movie playback
|
// movie playback
|
||||||
std::string fname;
|
std::string fname;
|
||||||
g_config->getOption("SDL.Movie", &fname);
|
g_config->getOption("SDL.Movie", &fname);
|
||||||
|
|
||||||
g_config->setOption("SDL.Movie", "");
|
g_config->setOption("SDL.Movie", "");
|
||||||
if (fname != "")
|
if (fname != "")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue