Merge remote-tracking branch 'refs/remotes/LukeUsher/master'

This commit is contained in:
PatrickvL 2016-12-13 10:46:41 +01:00
commit 9f5ce65a6f
1 changed files with 5 additions and 3 deletions

View File

@ -1444,10 +1444,12 @@ HRESULT WINAPI XTL::EmuIDirectSoundBuffer8_Stop
");\n",
GetCurrentThreadId(), pThis);
HRESULT hRet = pThis->EmuDirectSoundBuffer8->Stop();
HRESULT hRet = D3D_OK;
if (pThis != nullptr) {
hRet = pThis->EmuDirectSoundBuffer8->Stop();
}
return hRet;
}