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

Android: Remove support for the old config system #11641

Merged
merged 5 commits into from Mar 14, 2023

Conversation

JosJuice
Copy link
Member

All settings that we care about from an Android perspective are now supported by the new config system, so we can remove all the Android code for the old config system. This should have no impact on users.

All settings that we care about from an Android perspective are now
supported by the new config system, so we can remove all the Android code
for the old config system. This should have no impact on users.
@JosJuice JosJuice marked this pull request as ready for review March 11, 2023 17:40
Made unnecessary by the previous commit.
getXGlobal() is now identical to getX(), and setXGlobal(int, X) is now
identical to setX(int, X) in the cases where setX(int, X) exists.
We can remove/rename them.
@JosJuice
Copy link
Member Author

JosJuice commented Mar 11, 2023

Now that I think about it, I think this should fix the issue where we crash when EmulationActivity is recreated after the process was killed. The problem was that we were trying to load the settings before directory initialization finished, but with this PR the call to loadSettings does almost nothing (unless we're loading game settings, which is not the case here), so the fact that directory initialization hasn't finished should end up not mattering.

Copy link
Contributor

@t895 t895 left a comment

Choose a reason for hiding this comment

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

LGTM

@lioncash lioncash merged commit 4281606 into dolphin-emu:master Mar 14, 2023
@JosJuice JosJuice deleted the android-remove-old-config branch March 14, 2023 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants