Fix for SDL stalling the pacing thread

This commit is contained in:
iChris4 committed 2026-09-23 15:28:38 +02:00
1 parent 1d66ae87bf
commit b2353e1410
7 files changed
+141 -25

No files matched your search

+3
View File
@@ -2407,6 +2407,9 @@ void Draw() noexcept {
// its "communications interrupted" prompt without polling pads). Same guest
// thread as PADRead, so no concurrent access to the scanner's state.
WiiRemoteInput::Poll();
// Likewise for the VR controllers' gamepad, so it keeps being written even
// while the game is not reading pads.
mkw::vr::OpenXRApplyControllerState();
if (g_firstPersonToggleRequested.exchange(false, std::memory_order_acq_rel)) {
ToggleFirstPersonCamera();
}