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/DI: Remove RegisterWrapper. #11744

Merged
merged 1 commit into from Apr 9, 2023

Conversation

AdmiralCurtiss
Copy link
Contributor

There's no good way to use this with non-global state, and it's only used in a few places, so let's just get rid of it.

@Pokechu22 Pokechu22 self-requested a review April 9, 2023 03:11
Copy link
Contributor

@Pokechu22 Pokechu22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Theoretically something could be done to preserve RegisterWrapper (e.g. storing them as variables in the device instance and constructing them with a reference to mmio), but this is the only IOS module that we implement like this (I don't think any of the other ones would be practical to implement like this either), so it's probably not worth the effort.

@JosJuice JosJuice merged commit 6b73a47 into dolphin-emu:master Apr 9, 2023
14 checks passed
@AdmiralCurtiss AdmiralCurtiss deleted the ios-di-registers branch April 9, 2023 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants