Added stopping of all force feedback effects on reset (just in case some were playing at that point)

This commit is contained in:
Nik Henson 2011-09-13 22:45:32 +00:00
parent c10e839dc0
commit ca8d838826

View file

@ -238,6 +238,10 @@ void CDriveBoard::Reset(void)
if (!g_Config.forceFeedback) if (!g_Config.forceFeedback)
m_attached = false; m_attached = false;
// Stop any effects that may still be playing
if (m_attached)
SendStopAll();
} }
UINT8 CDriveBoard::Read(void) UINT8 CDriveBoard::Read(void)