mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 03:35:26 +00: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:
parent
2bff17d9f5
commit
a4ea3a3452
@ -385,5 +385,6 @@ void DSP_SendAIBuffer(unsigned int address, int sample_rate)
|
||||
|
||||
void DSP_ClearAudioBuffer()
|
||||
{
|
||||
soundStream->Clear();
|
||||
if (soundStream)
|
||||
soundStream->Clear();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user