Fixed a bug in EmuIDirectSoundBuffer_SetNotificationPositions.
The QueryInterface was called with *ppvObject instead of **ppvObject.
This commit is contained in:
parent
db7da95d9e
commit
f928d8278d
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue