mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
DolphinWX: Prevent Dolphin to be shutdown when closing cmd.exe
This commit is contained in:
parent
20d7180041
commit
eb3975eee8
1 changed files with 4 additions and 0 deletions
|
@ -119,6 +119,10 @@ bool DolphinApp::OnInit()
|
||||||
|
|
||||||
ParseCommandLine();
|
ParseCommandLine();
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
FreeConsole();
|
||||||
|
#endif
|
||||||
|
|
||||||
UICommon::SetUserDirectory(m_user_path.ToStdString());
|
UICommon::SetUserDirectory(m_user_path.ToStdString());
|
||||||
UICommon::CreateDirectories();
|
UICommon::CreateDirectories();
|
||||||
InitLanguageSupport(); // The language setting is loaded from the user directory
|
InitLanguageSupport(); // The language setting is loaded from the user directory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue