mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 08:00:25 +02:00
Fix for SDL stalling the pacing thread
This commit is contained in:
1 parent
1d66ae87bf
commit
b2353e1410
7 files changed
+141
-25
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user