-pause command line added
This commit is contained in:
parent
1b7d625d61
commit
15e2c028e6
|
@ -53,6 +53,7 @@ char *ParseArgies(int argc, char *argv[])
|
||||||
{"-stopmovie",0,&pauseAfterPlayback,0},
|
{"-stopmovie",0,&pauseAfterPlayback,0},
|
||||||
{"-bginput",0,&EnableBackgroundInput,0},
|
{"-bginput",0,&EnableBackgroundInput,0},
|
||||||
{"-turbo",0,&turbo,0},
|
{"-turbo",0,&turbo,0},
|
||||||
|
{"-pause",0,&PauseAfterLoad,0},
|
||||||
{0, 0, 0, 0},
|
{0, 0, 0, 0},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,5 @@ extern char* MovieToLoad;
|
||||||
extern char* StateToLoad;
|
extern char* StateToLoad;
|
||||||
extern bool replayReadOnlySetting;
|
extern bool replayReadOnlySetting;
|
||||||
extern int replayStopFrameSetting;
|
extern int replayStopFrameSetting;
|
||||||
|
extern int PauseAfterLoad;
|
||||||
char *ParseArgies(int argc, char *argv[]);
|
char *ParseArgies(int argc, char *argv[]);
|
||||||
|
|
|
@ -122,7 +122,7 @@ int genie = 0;
|
||||||
int pal_emulation = 0;
|
int pal_emulation = 0;
|
||||||
int ntsccol = 0, ntsctint, ntschue;
|
int ntsccol = 0, ntsctint, ntschue;
|
||||||
std::string BaseDirectory;
|
std::string BaseDirectory;
|
||||||
|
int PauseAfterLoad;
|
||||||
|
|
||||||
// Contains the names of the overridden standard directories
|
// Contains the names of the overridden standard directories
|
||||||
// in the order roms, nonvol, states, fdsrom, snaps, cheats, movies, memwatch, basicbot, macro, input presets, lua scripts, base
|
// in the order roms, nonvol, states, fdsrom, snaps, cheats, movies, memwatch, basicbot, macro, input presets, lua scripts, base
|
||||||
|
@ -663,6 +663,7 @@ int main(int argc,char *argv[])
|
||||||
StateToLoad = NULL;
|
StateToLoad = NULL;
|
||||||
}
|
}
|
||||||
if (MemWatchLoadOnStart) CreateMemWatch();
|
if (MemWatchLoadOnStart) CreateMemWatch();
|
||||||
|
if (PauseAfterLoad) FCEUI_ToggleEmulationPause();
|
||||||
|
|
||||||
UpdateCheckedMenuItems();
|
UpdateCheckedMenuItems();
|
||||||
doloopy:
|
doloopy:
|
||||||
|
|
Loading…
Reference in New Issue