add hack to not play connect/disconnect sounds after resetting USB

This commit is contained in:
Chris Danford
2004-05-03 02:43:36 +00:00
parent 3525b20e03
commit 9d1a89d0d5
2 changed files with 19 additions and 7 deletions
+3
View File
@@ -55,6 +55,9 @@ protected:
bool m_bWriteError[NUM_PLAYERS]; // couldn't write to the card
UsbStorageDevice m_Device[NUM_PLAYERS]; // device in the memory card slot, NULL if none
// don't play sounds on the first assign after resetting the driver
bool m_bDontPlaySoundsOnce;
RageSound m_soundReady;
RageSound m_soundError;
RageSound m_soundTooLate;