mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
SPU2-X: Minor bugfix to suspend/shutdown code which caused SPU2-X to hang in very rare occasions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1999 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
7533e00816
commit
8b0cbe445a
1 file changed
+5
-1
@@ -209,7 +209,11 @@ private:
|
||||
EnterCriticalSection( &cs );
|
||||
|
||||
// All of these checks are necessary because XAudio2 is wonky shizat.
|
||||
if( pSourceVoice == NULL || context == NULL ) return;
|
||||
if( pSourceVoice == NULL || context == NULL )
|
||||
{
|
||||
LeaveCriticalSection( &cs );
|
||||
return;
|
||||
}
|
||||
|
||||
T* qb = (T*)context;
|
||||
|
||||
|
||||
Reference in new issue
Block a user