mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinWX: Prevent Dolphin to be shutdown when closing cmd.exe
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user