Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS/STM: Reset the event hook at the correct time #6642

Merged
merged 1 commit into from Apr 16, 2018

Conversation

leoetlino
Copy link
Member

Just re-disassembled STM and found out I have made a mistake when
I changed STM stuff back in 2016.

I accidentally made STM reset the event hook on close when it should
have been done in the destructor (i.e. when IOS gets reset on console).

Verified in IDA that STM just IOS_ResourceReply(request, IOS_OK)
without ever resetting the hook.

@@ -55,7 +55,7 @@ class STMEventHook final : public Device
{
public:
using Device::Device;
IPCCommandResult Close(u32 fd) override;
~STMEventHook();

This comment was marked as off-topic.

This comment was marked as off-topic.

Just re-disassembled STM and found out I have made a mistake when
I changed STM stuff back in 2016.

I accidentally made STM reset the event hook on close when it should
have been done in the destructor (i.e. when IOS gets reset on console).

Verified in IDA that STM just `IOS_ResourceReply(request, IOS_OK)`
without ever resetting the hook.
@lioncash lioncash merged commit 6224b9b into dolphin-emu:master Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants