mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
When running a game from the command line, exit after emulation stops.
This "run once" behavior is more in line with expectations of a command line invocation and matches what the nowx build does. Personally, this makes the main build do everything the nowx build does and more. However, if you feel that the main build still doesn't have feature parity with nowx, please say so now, so we can fix it and kill off nowx. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5855 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -55,7 +55,7 @@ END_EVENT_TABLE()
|
||||
bool wxMsgAlert(const char*, const char*, bool, int);
|
||||
|
||||
CFrame* main_frame = NULL;
|
||||
static bool LoadFile = false;
|
||||
bool LoadFile = false;
|
||||
static wxString FileToLoad;
|
||||
|
||||
#ifdef WIN32
|
||||
@ -113,7 +113,7 @@ bool DolphinApp::OnInit()
|
||||
wxCMD_LINE_SWITCH, "d", "debugger", "Opens the debugger"
|
||||
},
|
||||
{
|
||||
wxCMD_LINE_SWITCH, "l", "logger", "Opens The Logger"
|
||||
wxCMD_LINE_SWITCH, "l", "logger", "Opens the logger"
|
||||
},
|
||||
{
|
||||
wxCMD_LINE_OPTION, "e", "exec", "Loads the specified file (DOL, ELF, WAD, GCM, ISO)",
|
||||
@ -127,10 +127,6 @@ bool DolphinApp::OnInit()
|
||||
wxCMD_LINE_OPTION, "A", "audio_plugin","Specify an audio plugin",
|
||||
wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL
|
||||
},
|
||||
{
|
||||
wxCMD_LINE_OPTION, "P", "pad_plugin","Specify a pad plugin",
|
||||
wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL
|
||||
},
|
||||
{
|
||||
wxCMD_LINE_OPTION, "W", "wiimote_plugin","Specify a wiimote plugin",
|
||||
wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL
|
||||
@ -151,7 +147,7 @@ bool DolphinApp::OnInit()
|
||||
wxCMD_LINE_SWITCH, _("d"), _("debugger"), wxT("Opens the debugger")
|
||||
},
|
||||
{
|
||||
wxCMD_LINE_SWITCH, _("l"), _("logger"), wxT("Opens The Logger")
|
||||
wxCMD_LINE_SWITCH, _("l"), _("logger"), wxT("Opens the logger")
|
||||
},
|
||||
{
|
||||
wxCMD_LINE_OPTION, _("e"), _("exec"), wxT("Loads the specified file (DOL, ELF, WAD, GCM, ISO)"),
|
||||
@ -165,10 +161,6 @@ bool DolphinApp::OnInit()
|
||||
wxCMD_LINE_OPTION, _("A"), _("audio_plugin"), wxT("Specify an audio plugin"),
|
||||
wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL
|
||||
},
|
||||
{
|
||||
wxCMD_LINE_OPTION, _("P"), _("pad_plugin"), wxT("Specify a pad plugin"),
|
||||
wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL
|
||||
},
|
||||
{
|
||||
wxCMD_LINE_OPTION, _("W"), _("wiimote_plugin"), wxT("Specify a wiimote plugin"),
|
||||
wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL
|
||||
|
Reference in New Issue
Block a user