mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 07:39:17 +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
1 changed files with 2 additions and 1 deletions
|
@ -385,5 +385,6 @@ void DSP_SendAIBuffer(unsigned int address, int sample_rate)
|
||||||
|
|
||||||
void DSP_ClearAudioBuffer()
|
void DSP_ClearAudioBuffer()
|
||||||
{
|
{
|
||||||
|
if (soundStream)
|
||||||
soundStream->Clear();
|
soundStream->Clear();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue