From 9220ca1afc8bfa2e29c62bab65fd58243269f0bb Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Thu, 2 Sep 2010 01:23:28 +0000 Subject: [PATCH] fake /dev/stm/eventhook ... makes libogc shutup a bit git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6162 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h index 4d0a2d7983..e28a9d92d5 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h @@ -176,7 +176,7 @@ public: m_EventHookAddress = _CommandAddress; INFO_LOG(WII_IPC_STM, "%s registers event hook:", GetDeviceName().c_str()); - DEBUG_LOG(WII_IPC_STM, "0x1000 - IOCTL_STM_EVENTHOOK", Parameter); + DEBUG_LOG(WII_IPC_STM, "%x - IOCTL_STM_EVENTHOOK", Parameter); DEBUG_LOG(WII_IPC_STM, "BufferIn: 0x%08x", BufferIn); DEBUG_LOG(WII_IPC_STM, "BufferInSize: 0x%08x", BufferInSize); DEBUG_LOG(WII_IPC_STM, "BufferOut: 0x%08x", BufferOut); @@ -194,7 +194,7 @@ public: // Write return value to the IPC call, 0 means success Memory::Write_U32(ReturnValue, _CommandAddress + 0x4); - return true; + return false; } // STATE_TO_SAVE