mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00: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:
parent
a4a61ae95c
commit
17e6c16bf1
4 changed files with 12 additions and 15 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue