mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Abstract GSFrameBase class and callback
This commit is contained in:
parent
50b5d72bb2
commit
84c5899faf
7 changed files with 94 additions and 109 deletions
|
|
@ -17,6 +17,9 @@
|
|||
#include "Emu/Io/XInput/XInputPadHandler.h"
|
||||
#endif
|
||||
|
||||
#include "Emu/RSX/GL/GLGSRender.h"
|
||||
#include "Gui/GLGSFrame.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <wx/msw/wrapwin.h>
|
||||
#endif
|
||||
|
|
@ -103,6 +106,10 @@ bool Rpcs3App::OnInit()
|
|||
return new NullPadHandler();
|
||||
}
|
||||
});
|
||||
SetGetGSFrameCallback([]() -> GSFrameBase*
|
||||
{
|
||||
return new GLGSFrame();
|
||||
});
|
||||
|
||||
TheApp = this;
|
||||
SetAppName(_PRGNAME_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue