From e455f2d2d1adb3fac7e422c9f9a2c9919fe077b0 Mon Sep 17 00:00:00 2001 From: dborth Date: Fri, 21 May 2010 01:36:10 +0000 Subject: [PATCH] fix audio for GC --- source/gcaudio.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/gcaudio.cpp b/source/gcaudio.cpp index a972496..0b766f2 100644 --- a/source/gcaudio.cpp +++ b/source/gcaudio.cpp @@ -118,14 +118,13 @@ SwitchAudioMode(int mode) ASND_Pause(1); AUDIO_StopDMA(); AUDIO_RegisterDMACallback(AudioSwitchBuffers); - + #endif memset(soundbuffer[0],0,3840); memset(soundbuffer[1],0,3840); DCFlushRange(soundbuffer[0],3840); DCFlushRange(soundbuffer[1],3840); AUDIO_InitDMA((u32)soundbuffer[whichab],3200); AUDIO_StartDMA(); - #endif } else // menu {