mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -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:
@ -903,6 +903,12 @@ void CFrame::DoStop()
|
||||
|
||||
// Clean framerate indications from the status bar.
|
||||
m_pStatusBar->SetStatusText(wxT(" "), 0);
|
||||
|
||||
extern bool LoadFile;
|
||||
|
||||
// If an executable was specified on the command-line, exit now.
|
||||
if (LoadFile)
|
||||
Close(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user