summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2014-11-15 23:04:09 -0500
committercomex <comexk@gmail.com>2015-05-28 19:14:42 -0400
commit3173d4dcbfc112eebba81e1e18372f7385c7adc3 (patch)
treecaa884f866a65be7be0fafd107b174afa7576ccd /Source
parentaae104ccb4950c821be08a46314157a8e04580d7 (diff)
Disable /dev/usb/hid too.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp
index 515f11d95a..3cd76a9356 100644
--- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp
+++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp
@@ -129,6 +129,12 @@ IPCCommandResult CWII_IPC_HLE_Device_hid::Close(u32 _CommandAddress, bool _bForc
IPCCommandResult CWII_IPC_HLE_Device_hid::IOCtl(u32 _CommandAddress)
{
+ if (Core::g_want_determinism)
+ {
+ Memory::Write_U32(-1, _CommandAddress + 0x4);
+ return IPC_DEFAULT_REPLY;
+ }
+
u32 Parameter = Memory::Read_U32(_CommandAddress + 0xC);
u32 BufferIn = Memory::Read_U32(_CommandAddress + 0x10);
u32 BufferInSize = Memory::Read_U32(_CommandAddress + 0x14);