mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
DX12 fix + rpcs3-tests project
This commit is contained in:
parent
8cfabf0ead
commit
d4e0da3f80
41 changed files with 404 additions and 1299 deletions
|
|
@ -24,9 +24,6 @@
|
|||
|
||||
#include "Emu/RSX/Null/NullGSRender.h"
|
||||
#include "Emu/RSX/GL/GLGSRender.h"
|
||||
#if defined(DX12_SUPPORT)
|
||||
#include "Emu/RSX/D3D12/D3D12GSRender.h"
|
||||
#endif
|
||||
|
||||
#include "Gui/MsgDialog.h"
|
||||
#include "Gui/SaveDataDialog.h"
|
||||
|
|
@ -130,6 +127,8 @@ bool Rpcs3App::OnInit()
|
|||
case frame_type::Null:
|
||||
return std::make_unique<GSFrame>("Null");
|
||||
}
|
||||
|
||||
throw EXCEPTION("Invalid Frame Type");
|
||||
};
|
||||
|
||||
callbacks.get_msg_dialog = []() -> std::unique_ptr<MsgDialogBase>
|
||||
|
|
@ -226,18 +225,3 @@ Rpcs3App::Rpcs3App()
|
|||
XInitThreads();
|
||||
#endif
|
||||
}
|
||||
|
||||
GameInfo CurGameInfo;
|
||||
|
||||
GSRender * createGSRender(u8 id)
|
||||
{
|
||||
switch (id)
|
||||
{
|
||||
default:
|
||||
case 0: return new NullGSRender(); break;
|
||||
case 1: return new GLGSRender(); break;
|
||||
#if defined(DX12_SUPPORT)
|
||||
case 2: return new D3D12GSRender(); break;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue