Pad: Revert back to old Constant 1 behavior

Fixes pad detection in NBA 2K7, possibly others.
This commit is contained in:
RedPanda4552 2023-07-24 19:20:32 -04:00 committed by refractionpcsx2
parent 051d13ec7a
commit 2c08b385e5
1 changed files with 12 additions and 1 deletions

View File

@ -231,15 +231,26 @@ u8 PadDualshock2::Constant1(u8 commandByte)
case 3:
stage = commandByte;
return 0x00;
case 5:
return 0x01;
case 6:
if (stage)
{
return 0x00;
return 0x01;
}
else
{
return 0x02;
}
case 7:
if (stage)
{
return 0x01;
}
else
{
return 0x00;
}
case 8:
g_Sio0.SetAcknowledge(false);
return (stage ? 0x14 : 0x0a);