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: Re-add host thread check #11926
Conversation
0eaccd3
to
89bf609
Compare
89bf609
to
d174891
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't exactly test this or verify if you found all the locations that act as the host thread, but this looks reasonable.
For some reason when I try to add games in the app, I get a crash from |
d174891
to
28bd00a
Compare
Fixed. (I should replace the raw writing to INI files in GameFileCache at some point...) |
28bd00a
to
58158d5
Compare
This way we can ensure DeclareAsHostThread and UndeclareAsHostThread are called when locking and unlocking.
This reverts commit 361171f.
58158d5
to
f11175d
Compare
Not sure if I caught everything that needs a host lock, but at least now emulation and settings work with the host thread check enabled.