diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2022-04-19 15:23:06 -0700 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-06-02 19:39:36 -0700 |
| commit | 3ae775e5745ba847b2195022ebc107004c871dc7 (patch) | |
| tree | 5e65e742bf6a4aec3a2454ddff131379562e5660 /Source/Core/InputCommon/GCAdapter.cpp | |
| parent | 55922e6d17442723e57f7435b758c5450aa12f11 (diff) | |
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.
Diffstat (limited to 'Source/Core/InputCommon/GCAdapter.cpp')
| -rw-r--r-- | Source/Core/InputCommon/GCAdapter.cpp | 5 |
1 files changed, 1 insertions, 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. |
