mirror of https://github.com/PCSX2/pcsx2.git
Pad: Revert back to old Constant 1 behavior
Fixes pad detection in NBA 2K7, possibly others.
This commit is contained in:
parent
051d13ec7a
commit
2c08b385e5
|
@ -231,15 +231,26 @@ u8 PadDualshock2::Constant1(u8 commandByte)
|
||||||
case 3:
|
case 3:
|
||||||
stage = commandByte;
|
stage = commandByte;
|
||||||
return 0x00;
|
return 0x00;
|
||||||
|
case 5:
|
||||||
|
return 0x01;
|
||||||
case 6:
|
case 6:
|
||||||
if (stage)
|
if (stage)
|
||||||
{
|
{
|
||||||
return 0x00;
|
return 0x01;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return 0x02;
|
return 0x02;
|
||||||
}
|
}
|
||||||
|
case 7:
|
||||||
|
if (stage)
|
||||||
|
{
|
||||||
|
return 0x01;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return 0x00;
|
||||||
|
}
|
||||||
case 8:
|
case 8:
|
||||||
g_Sio0.SetAcknowledge(false);
|
g_Sio0.SetAcknowledge(false);
|
||||||
return (stage ? 0x14 : 0x0a);
|
return (stage ? 0x14 : 0x0a);
|
||||||
|
|
Loading…
Reference in New Issue