mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Moved XInitThreads to where it wont crash should solve issue 1540 (Thanks emuxperts for the fix)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4603 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -123,9 +123,6 @@ bool DolphinApp::OnInit()
|
||||
RegisterMsgAlertHandler(&wxMsgAlert);
|
||||
#endif
|
||||
|
||||
#if defined __linux__
|
||||
XInitThreads();
|
||||
#endif
|
||||
// "ExtendedTrace" looks freakin dangerous!!!
|
||||
#ifdef _WIN32
|
||||
EXTENDEDTRACEINITIALIZE(".");
|
||||
@ -457,6 +454,9 @@ bool DolphinApp::OnInit()
|
||||
|
||||
// Set main parent window
|
||||
SetTopWindow(main_frame);
|
||||
#if defined __linux__
|
||||
XInitThreads();
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user