mirror of
https://github.com/dborth/fceugx.git
synced 2024-11-01 06:55:05 +01:00
fix audio for GC
This commit is contained in:
parent
94b69f6362
commit
e455f2d2d1
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user