mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12: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>
|
#include <wx/msw/wrapwin.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __UNIX__
|
||||||
|
#include <X11/Xlib.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
const wxEventType wxEVT_DBG_COMMAND = wxNewEventType();
|
const wxEventType wxEVT_DBG_COMMAND = wxNewEventType();
|
||||||
|
|
||||||
IMPLEMENT_APP(Rpcs3App)
|
IMPLEMENT_APP(Rpcs3App)
|
||||||
|
@ -66,6 +70,12 @@ void Rpcs3App::SendDbgCommand(DbgCommand id, CPUThread* thr)
|
||||||
AddPendingEvent(event);
|
AddPendingEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Rpcs3App::Rpcs3App()
|
||||||
|
{
|
||||||
|
#ifdef __UNIX__
|
||||||
|
XInitThreads();
|
||||||
|
#endif
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
CPUThread& GetCPU(const u8 core)
|
CPUThread& GetCPU(const u8 core)
|
||||||
{
|
{
|
||||||
|
|
|
@ -58,6 +58,8 @@ public:
|
||||||
virtual void OnArguments(); // Handle arguments: Rpcs3App::argc, Rpcs3App::argv
|
virtual void OnArguments(); // Handle arguments: Rpcs3App::argc, Rpcs3App::argv
|
||||||
virtual void Exit();
|
virtual void Exit();
|
||||||
|
|
||||||
|
Rpcs3App();
|
||||||
|
|
||||||
void SendDbgCommand(DbgCommand id, CPUThread* thr=nullptr);
|
void SendDbgCommand(DbgCommand id, CPUThread* thr=nullptr);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue