mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 09:23:34 +00:00
x11 fix
This commit is contained in:
parent
98b4a35fb5
commit
b36a5a95f0
@ -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)
|
||||
{
|
||||
|
@ -58,6 +58,8 @@ public:
|
||||
virtual void OnArguments(); // Handle arguments: Rpcs3App::argc, Rpcs3App::argv
|
||||
virtual void Exit();
|
||||
|
||||
Rpcs3App();
|
||||
|
||||
void SendDbgCommand(DbgCommand id, CPUThread* thr=nullptr);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user