mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
Merge pull request #6642 from leoetlino/stm
IOS/STM: Reset the event hook at the correct time
This commit is contained in:
commit
6224b9bd37
2 changed files with 2 additions and 3 deletions
|
@ -66,10 +66,9 @@ IPCCommandResult STMImmediate::IOCtl(const IOCtlRequest& request)
|
||||||
return GetDefaultReply(return_value);
|
return GetDefaultReply(return_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
IPCCommandResult STMEventHook::Close(u32 fd)
|
STMEventHook::~STMEventHook()
|
||||||
{
|
{
|
||||||
s_event_hook_request.reset();
|
s_event_hook_request.reset();
|
||||||
return Device::Close(fd);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
IPCCommandResult STMEventHook::IOCtl(const IOCtlRequest& request)
|
IPCCommandResult STMEventHook::IOCtl(const IOCtlRequest& request)
|
||||||
|
|
|
@ -55,7 +55,7 @@ class STMEventHook final : public Device
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using Device::Device;
|
using Device::Device;
|
||||||
IPCCommandResult Close(u32 fd) override;
|
~STMEventHook() override;
|
||||||
IPCCommandResult IOCtl(const IOCtlRequest& request) override;
|
IPCCommandResult IOCtl(const IOCtlRequest& request) override;
|
||||||
void DoState(PointerWrap& p) override;
|
void DoState(PointerWrap& p) override;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue