-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},
|
||||
{"-bginput",0,&EnableBackgroundInput,0},
|
||||
{"-turbo",0,&turbo,0},
|
||||
{"-pause",0,&PauseAfterLoad,0},
|
||||
{0, 0, 0, 0},
|
||||
};
|
||||
|
||||
|
|
|
@ -2,4 +2,5 @@ extern char* MovieToLoad;
|
|||
extern char* StateToLoad;
|
||||
extern bool replayReadOnlySetting;
|
||||
extern int replayStopFrameSetting;
|
||||
extern int PauseAfterLoad;
|
||||
char *ParseArgies(int argc, char *argv[]);
|
||||
|
|
|
@ -122,7 +122,7 @@ int genie = 0;
|
|||
int pal_emulation = 0;
|
||||
int ntsccol = 0, ntsctint, ntschue;
|
||||
std::string BaseDirectory;
|
||||
|
||||
int PauseAfterLoad;
|
||||
|
||||
// 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
|
||||
|
@ -601,11 +601,11 @@ int main(int argc,char *argv[])
|
|||
FCEUI_SetSoundQuality(soundquality);
|
||||
}
|
||||
|
||||
ParseGIInput(NULL); /* Since a game doesn't have to be
|
||||
loaded before the GUI can be used, make
|
||||
sure the temporary input type variables
|
||||
are set.
|
||||
*/
|
||||
ParseGIInput(NULL); /* Since a game doesn't have to be
|
||||
loaded before the GUI can be used, make
|
||||
sure the temporary input type variables
|
||||
are set.
|
||||
*/
|
||||
|
||||
// Initialize default directories
|
||||
CreateDirs();
|
||||
|
@ -663,6 +663,7 @@ int main(int argc,char *argv[])
|
|||
StateToLoad = NULL;
|
||||
}
|
||||
if (MemWatchLoadOnStart) CreateMemWatch();
|
||||
if (PauseAfterLoad) FCEUI_ToggleEmulationPause();
|
||||
|
||||
UpdateCheckedMenuItems();
|
||||
doloopy:
|
||||
|
|
Loading…
Reference in New Issue