From fcd08be34a47e103bcf1b87f2e12d2092099cb6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 18 Sep 2016 23:46:06 +0200 Subject: [PATCH] IPC_HLE/stm: const correctness for ResetButton --- Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.cpp | 2 +- Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.cpp b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.cpp index 42c6dddae2..0c1dd43d13 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.cpp +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.cpp @@ -112,7 +112,7 @@ IPCCommandResult CWII_IPC_HLE_Device_stm_eventhook::IOCtl(u32 command_address) return GetNoReply(); } -void CWII_IPC_HLE_Device_stm_eventhook::ResetButton() +void CWII_IPC_HLE_Device_stm_eventhook::ResetButton() const { if (!m_Active || m_event_hook_address == 0) { diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.h b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.h index a305e2d0f0..fa9153c25e 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.h +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.h @@ -59,7 +59,7 @@ public: IPCCommandResult Close(u32 command_address, bool force) override; IPCCommandResult IOCtl(u32 command_address) override; - void ResetButton(); + void ResetButton() const; // STATE_TO_SAVE u32 m_event_hook_address = 0;