IPC_HLE/stm: const correctness for ResetButton

This commit is contained in:
Léo Lam 2016-09-18 23:46:06 +02:00
parent 5fb17a9014
commit fcd08be34a
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ IPCCommandResult CWII_IPC_HLE_Device_stm_eventhook::IOCtl(u32 command_address)
return GetNoReply(); 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) if (!m_Active || m_event_hook_address == 0)
{ {

View File

@ -59,7 +59,7 @@ public:
IPCCommandResult Close(u32 command_address, bool force) override; IPCCommandResult Close(u32 command_address, bool force) override;
IPCCommandResult IOCtl(u32 command_address) override; IPCCommandResult IOCtl(u32 command_address) override;
void ResetButton(); void ResetButton() const;
// STATE_TO_SAVE // STATE_TO_SAVE
u32 m_event_hook_address = 0; u32 m_event_hook_address = 0;