fix audio restarting when returning from menu

This commit is contained in:
dborth 2009-04-26 21:28:03 +00:00
parent 2409162991
commit e716bb9ca6

View File

@ -113,6 +113,7 @@ SwitchAudioMode(int mode)
{
AUDIO_StopDMA();
AUDIO_RegisterDMACallback(NULL);
IsPlaying = 0;
#ifndef NO_SOUND
ASND_Init();
ASND_Pause(0);