Merge pull request #4302 from leoetlino/graceful-fixes
Minor fixes to graceful shutdown
This commit is contained in:
commit
ce5c8c28b2
5 files changed
+21
-5
No files matched your search
@@ -135,6 +135,11 @@ IPCCommandResult CWII_IPC_HLE_Device_stm_eventhook::IOCtl(u32 command_address)
|
||||
return GetNoReply();
|
||||
}
|
||||
|
||||
bool CWII_IPC_HLE_Device_stm_eventhook::HasHookInstalled() const
|
||||
{
|
||||
return s_event_hook_address != 0;
|
||||
}
|
||||
|
||||
void CWII_IPC_HLE_Device_stm_eventhook::TriggerEvent(const u32 event) const
|
||||
{
|
||||
if (!m_Active || s_event_hook_address == 0)
|
||||
|
||||
@@ -59,6 +59,7 @@ public:
|
||||
IPCCommandResult Close(u32 command_address, bool force) override;
|
||||
IPCCommandResult IOCtl(u32 command_address) override;
|
||||
|
||||
bool HasHookInstalled() const;
|
||||
void ResetButton() const;
|
||||
void PowerButton() const;
|
||||
|
||||
|
||||
Reference in new issue
Block a user