- [EMU] fix InternalPadUpdates logic error

This commit is contained in:
Ilya Shurumov 2020-11-13 00:49:28 +06:00
parent 2e39fe3d90
commit f1c3a137a8

View File

@ -360,10 +360,10 @@ void InternalPadUpdates()
pad->status = 0; // PadStateStable?
// switch to analog state
if(pad->analog[0] == 255 ||
if((pad->analog[0] == 255 ||
pad->analog[1] == 255 ||
pad->analog[2] == 255 ||
pad->analog[3] == 255 ||
pad->analog[3] == 255) &&
pad->id == 0x41)
{
eprintf("Switched controller type to ANALOG\n");