mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-09 17:47:38 +02:00
IPC_HLE/stm: const correctness for ResetButton
This commit is contained in:
parent
5fb17a9014
commit
fcd08be34a
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user