diff --git a/reactos/dll/directx/dsound_new/capturebuffer.c b/reactos/dll/directx/dsound_new/capturebuffer.c index ed6591ef719..0c9ab6bcb03 100644 --- a/reactos/dll/directx/dsound_new/capturebuffer.c +++ b/reactos/dll/directx/dsound_new/capturebuffer.c @@ -298,11 +298,6 @@ IDirectSoundCaptureBufferImpl_Lock( return DS_OK; } - else if (dwFlags & DSBLOCK_FROMWRITECURSOR) - { - UNIMPLEMENTED - return DSERR_UNSUPPORTED; - } else { ASSERT(dwOffset < This->BufferSize); diff --git a/reactos/dll/directx/dsound_new/secondary.c b/reactos/dll/directx/dsound_new/secondary.c index 47a2ad772b1..08c51605244 100644 --- a/reactos/dll/directx/dsound_new/secondary.c +++ b/reactos/dll/directx/dsound_new/secondary.c @@ -255,7 +255,7 @@ SecondaryDirectSoundBuffer8Impl_fnLock( return DS_OK; } - else if (dwFlags & DSBLOCK_FROMWRITECURSOR) + else if (dwFlags == DSBLOCK_FROMWRITECURSOR) { UNIMPLEMENTED return DSERR_UNSUPPORTED;