mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00: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:
parent
66b80131d6
commit
67dee48b3e
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue