fix crash caused by adding DSP_ClearAudioBuffer()

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4509 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2009-11-07 23:51:12 +00:00
parent 2bff17d9f5
commit a4ea3a3452

View File

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