Use g_want_determinism in code added by 8f0cbef

There's no reason this only should apply to netplay.
This commit is contained in:
JosJuice
2016-07-05 20:58:44 +02:00
parent 6951228abd
commit ce9622c426
2 changed files with 7 additions and 7 deletions

View File

@ -453,9 +453,9 @@ void Input(int chan, GCPadStatus* pad)
pad->triggerLeft = controller_payload_copy[1 + (9 * chan) + 7];
pad->triggerRight = controller_payload_copy[1 + (9 * chan) + 8];
}
else if (!NetPlay::IsNetPlayRunning())
else if (!Core::g_want_determinism)
{
// This is a hack to prevent a netplay desync due to SI devices
// This is a hack to prevent a desync due to SI devices
// being different and returning different values.
// The corresponding code in DeviceGCAdapter has the same check
pad->button = PAD_ERR_STATUS;