mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-25 15:15:40 +00:00
Drive board uses the value 0xFF (not 0x00) on ports 42 and 45 to stop all effects when port 46 is set to 0xFF; fixes FFB effects continuing after game ends
This commit is contained in:
parent
84aa972ef2
commit
015e8e9212
|
@ -497,7 +497,7 @@ void CJoyBoard::ProcessEncoderCmdJoystick(void)
|
|||
|
||||
case 0xFF:
|
||||
// Stop all effects
|
||||
if (m_port42Out == 0 || m_port45Out == 0)
|
||||
if (m_port42Out == 0xFF && m_port45Out == 0xFF)
|
||||
SendStopAll();
|
||||
break;
|
||||
|
||||
|
|
|
@ -591,7 +591,7 @@ void CWheelBoard::ProcessEncoderCmd(void)
|
|||
|
||||
case 0xFF:
|
||||
// Stop all effects
|
||||
if (m_port42Out == 0)
|
||||
if (m_port42Out == 0xFF)
|
||||
SendStopAll();
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue