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

Achievements: Use big picture to confirm HC mode disable #10323

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Achievements: Use big picture to confirm HC mode disable #10323

merged 2 commits into from
Nov 27, 2023

Conversation

stenzek
Copy link
Contributor

@stenzek stenzek commented Nov 26, 2023

Description of Changes

Currently, PCSX2 if you're fullscreen and load a state while HC mode is on, because it blocks until the VM is un-fullscreened, but the VM can't un-fullscreen because it's waiting for the UI thread to confirm the mode switch.

Instead, use the big picture UI to manage it all. Works with a gamepad, and doesn't break fullscreen.

Also fixes the pause buffering "exploit" by putting a cooldown on pause hotkeys.

Rationale behind Changes

Fixes deadlocks.

Suggested Testing Steps

Try loading states while fullscreen and HC is on.
Make sure PCSX2 "works" as normal, since I changed the main CPU thread loop.

@stenzek stenzek merged commit 88989bf into PCSX2:master Nov 27, 2023
11 checks passed
@stenzek stenzek deleted the achievements branch November 27, 2023 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants