mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
MINGW64: Compilation fix
This commit is contained in:
parent
60dc4abc2b
commit
5f6caf33f0
35 changed files with 111 additions and 112 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#include "Emu/Io/Pad.h"
|
||||
#include "Emu/Io/Null/NullPadHandler.h"
|
||||
#include "Emu/Io/Windows/WindowsPadHandler.h"
|
||||
#if defined(_WIN32)
|
||||
#ifdef _MSC_VER
|
||||
#include "Emu/Io/XInput/XInputPadHandler.h"
|
||||
#endif
|
||||
|
||||
|
|
@ -107,7 +107,7 @@ bool Rpcs3App::OnInit()
|
|||
{
|
||||
case io_handler_mode::null: return std::make_unique<NullPadHandler>();
|
||||
case io_handler_mode::windows: return std::make_unique<WindowsPadHandler>();
|
||||
#if defined(_WIN32)
|
||||
#ifdef _MSC_VER
|
||||
case io_handler_mode::xinput: return std::make_unique<XInputPadHandler>();
|
||||
#endif
|
||||
default: throw EXCEPTION("Invalid Pad Handler Mode %d", +(u32)mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue