- Fix checking of flags found by Ged

- Remove unsupported DSBLOCK_FROMWRITECURSOR

svn path=/trunk/; revision=43942
This commit is contained in:
Johannes Anderwald 2009-11-03 22:30:36 +00:00
parent c1198f3164
commit 8bd2cfb3ab
2 changed files with 1 additions and 6 deletions

View file

@ -298,11 +298,6 @@ IDirectSoundCaptureBufferImpl_Lock(
return DS_OK;
}
else if (dwFlags & DSBLOCK_FROMWRITECURSOR)
{
UNIMPLEMENTED
return DSERR_UNSUPPORTED;
}
else
{
ASSERT(dwOffset < This->BufferSize);

View file

@ -255,7 +255,7 @@ SecondaryDirectSoundBuffer8Impl_fnLock(
return DS_OK;
}
else if (dwFlags & DSBLOCK_FROMWRITECURSOR)
else if (dwFlags == DSBLOCK_FROMWRITECURSOR)
{
UNIMPLEMENTED
return DSERR_UNSUPPORTED;