Continuing godisgovernment's fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4511 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-11-07 23:56:41 +00:00
parent db372f0e32
commit b9794a9533
1 changed files with 2 additions and 1 deletions

View File

@ -363,6 +363,7 @@ void DSP_SendAIBuffer(unsigned int address, int sample_rate)
void DSP_ClearAudioBuffer()
{
soundStream->Clear();
if(soundStream)
soundStream->Clear();
}