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

CwCheatScreen::LoadCheatInfo wait for GameInfo to be ready #18733

Closed
wants to merge 3 commits into from

Conversation

Kethen
Copy link
Contributor

@Kethen Kethen commented Jan 20, 2024

Fixes a type of #18694 caused by onResume()

01-20 14:44:59.127  3094  4393 I MediaProvider: Open with lower FS for /storage/emulated/0/PPSSPP/PSP/Cheats/.ini. Uid: 10085

It may or may not be exactly #18694 however since the original report noted that a full app restarted is needed, but on my end backing out of the CwCheatScreen and going back in was enough to list cheats again on android 13, and this PR only makes it so onResume() does not break it in the first place

@hrydgard
Copy link
Owner

Thanks, this is a very good find!

Though, I am going to rework it so we don't block the UI thread, by polling in Screen::update() instead.

@Kethen
Copy link
Contributor Author

Kethen commented Jan 20, 2024

@hrydgard Got it, in that case feel free to close this PR and replace it with the new rework :)

hrydgard added a commit that referenced this pull request Jan 20, 2024
Replaces #18733

Fixes at least one instance of #18694, don't know if there are other
causes.
@hrydgard
Copy link
Owner

Alright, closing in favor of #18736.

@hrydgard hrydgard closed this Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants