Added a null check when stopping the DSPHLE plugin with the DSound back-end. Fixes the DSPHLE crash on stop.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5172 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
beba3b7f5b
commit
76ad8db445
|
@ -162,6 +162,7 @@ void DSound::Clear(bool mute)
|
|||
|
||||
if (m_muted)
|
||||
{
|
||||
if (dsBuffer != NULL)
|
||||
dsBuffer->Stop();
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue