mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
x11 fix
This commit is contained in:
parent
98b4a35fb5
commit
b36a5a95f0
2 changed files with 12 additions and 0 deletions
|
|
@ -7,6 +7,10 @@
|
|||
#include <wx/msw/wrapwin.h>
|
||||
#endif
|
||||
|
||||
#ifdef __UNIX__
|
||||
#include <X11/Xlib.h>
|
||||
#endif
|
||||
|
||||
const wxEventType wxEVT_DBG_COMMAND = wxNewEventType();
|
||||
|
||||
IMPLEMENT_APP(Rpcs3App)
|
||||
|
|
@ -66,6 +70,12 @@ void Rpcs3App::SendDbgCommand(DbgCommand id, CPUThread* thr)
|
|||
AddPendingEvent(event);
|
||||
}
|
||||
|
||||
Rpcs3App::Rpcs3App()
|
||||
{
|
||||
#ifdef __UNIX__
|
||||
XInitThreads();
|
||||
#endif
|
||||
}
|
||||
/*
|
||||
CPUThread& GetCPU(const u8 core)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue