From 3ae775e5745ba847b2195022ebc107004c871dc7 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Tue, 19 Apr 2022 15:23:06 -0700 Subject: [PATCH] GCAdapter: Use determinism hack on Android This hack was added in 8f0cbefbe57762de92284ef151e984f52ec8d7e6, and the part of it in SI_DeviceGCAdapter is present on Android already, so I don't see any reason why this part doesn't apply to Android. --- Source/Core/InputCommon/GCAdapter.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/Core/InputCommon/GCAdapter.cpp b/Source/Core/InputCommon/GCAdapter.cpp index 25e14a7e5d..6242ce3155 100644 --- a/Source/Core/InputCommon/GCAdapter.cpp +++ b/Source/Core/InputCommon/GCAdapter.cpp @@ -790,10 +790,7 @@ GCPadStatus Input(int chan) pad.triggerLeft = controller_payload_copy[1 + (9 * chan) + 7]; pad.triggerRight = controller_payload_copy[1 + (9 * chan) + 8]; } - else -#if GCADAPTER_USE_LIBUSB_IMPLEMENTATION - if (!Core::WantsDeterminism()) -#endif + else if (!Core::WantsDeterminism()) { // This is a hack to prevent a desync due to SI devices // being different and returning different values.