Merged r5172 to stable branch.

(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/branches/stable@5173 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau 2010-03-08 08:16:08 +00:00
parent 318abc4ece
commit 88af328437

View File

@ -162,7 +162,8 @@ void DSound::Clear(bool mute)
if (m_muted)
{
dsBuffer->Stop();
if (dsBuffer != NULL)
dsBuffer->Stop();
}
else
{