Fixed a bug in EmuIDirectSoundBuffer_SetNotificationPositions.

The QueryInterface was called with *ppvObject instead of **ppvObject.
This commit is contained in:
JaGoTu 2017-03-22 22:41:44 +01:00
parent db7da95d9e
commit f928d8278d
1 changed files with 1 additions and 1 deletions

View File

@ -3692,7 +3692,7 @@ HRESULT WINAPI XTL::EMUPATCH(IDirectSoundBuffer_SetNotificationPositions)
{
if( pThis->EmuDirectSoundBuffer8 )
{
hr = pThis->EmuDirectSoundBuffer8->QueryInterface( IID_IDirectSoundNotify, (LPVOID*) pNotify );
hr = pThis->EmuDirectSoundBuffer8->QueryInterface( IID_IDirectSoundNotify, (LPVOID*) &pNotify );
if( SUCCEEDED( hr ) && pNotify != nullptr )
{
hr = pNotify->SetNotificationPositions( dwNotifyCount, paNotifies );