mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 13:55:38 +00:00
Added stopping of all force feedback effects on reset (just in case some were playing at that point)
This commit is contained in:
parent
c10e839dc0
commit
ca8d838826
|
@ -238,6 +238,10 @@ void CDriveBoard::Reset(void)
|
|||
|
||||
if (!g_Config.forceFeedback)
|
||||
m_attached = false;
|
||||
|
||||
// Stop any effects that may still be playing
|
||||
if (m_attached)
|
||||
SendStopAll();
|
||||
}
|
||||
|
||||
UINT8 CDriveBoard::Read(void)
|
||||
|
|
Loading…
Reference in a new issue