From 3173d4dcbfc112eebba81e1e18372f7385c7adc3 Mon Sep 17 00:00:00 2001 From: comex Date: Sat, 15 Nov 2014 23:04:09 -0500 Subject: [PATCH] Disable /dev/usb/hid too. --- Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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);