mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
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:
@ -385,5 +385,6 @@ void DSP_SendAIBuffer(unsigned int address, int sample_rate)
|
|||||||
|
|
||||||
void DSP_ClearAudioBuffer()
|
void DSP_ClearAudioBuffer()
|
||||||
{
|
{
|
||||||
soundStream->Clear();
|
if (soundStream)
|
||||||
|
soundStream->Clear();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user