mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Init X multithread support on linux.
Should fix some linux crash issues git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4479 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
af921d56d0
commit
9d57502f1a
@ -23,6 +23,10 @@
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#include <X11/Xlib.h>
|
||||
#endif
|
||||
|
||||
#include "Common.h" // Common
|
||||
#include "CPUDetect.h"
|
||||
#include "IniFile.h"
|
||||
@ -119,7 +123,9 @@ bool DolphinApp::OnInit()
|
||||
RegisterMsgAlertHandler(&wxMsgAlert);
|
||||
#endif
|
||||
|
||||
|
||||
#if defined __linux__
|
||||
XInitThreads();
|
||||
#endif
|
||||
// "ExtendedTrace" looks freakin dangerous!!!
|
||||
#ifdef _WIN32
|
||||
EXTENDEDTRACEINITIALIZE(".");
|
||||
|
Loading…
Reference in New Issue
Block a user