summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2016-09-18 23:46:06 +0200
committerLéo Lam <leo@innovatetechnologi.es>2016-10-01 13:06:04 +0200
commitfcd08be34a47e103bcf1b87f2e12d2092099cb6a (patch)
tree4104936d81b4711d8b00303d4e9df5e475abc7d5 /Source/Core
parent5fb17a9014ee9dc0ea908592e5a0c57a5481ab77 (diff)
IPC_HLE/stm: const correctness for ResetButton
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.cpp2
-rw-r--r--Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.h2
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;