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: Don't expose HLE::Reset() #5197

Merged
merged 1 commit into from Apr 3, 2017
Merged

Conversation

leoetlino
Copy link
Member

This is an implementation detail that does not have to be exposed.

It was used in WII_IPC whenever the IPC gets reset, but that does not make much sense to me: the only time when IOS loses state and the IPC registers are set up again is when it's reloaded. And reloading IOS already calls Reset() indirectly.

Also, an IPC reset from the PPC definitely should not close all opened devices!

This also gets rid of a special case for clear_devices, which is now completely unneeded.

This is an implementation detail that does not have to be exposed.

It was used in WII_IPC whenever the IPC gets reset, but that does not
make much sense to me: the only time when IOS loses state and the IPC
registers are set up again is when it's reloaded. And reloading IOS
already calls Reset() indirectly.

Also, an IPC reset from the PPC definitely should not close all opened
devices!

This also gets rid of a special case for clear_devices, which is now
completely unneeded.
@Parlane Parlane merged commit 637bdc4 into dolphin-emu:master Apr 3, 2017
@leoetlino leoetlino deleted the ios-reset branch June 3, 2017 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants