mmio: Do not zero current file position whenever mmioSetBuffer is called.

This commit is contained in:
Matthew D'Asaro 2008-06-03 19:41:20 -07:00 committed by Alexandre Julliard
parent 63e9c1ee09
commit f684dac0fc
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ static MMRESULT MMIO_SetBuffer(WINE_MMIO* wm, void* pchBuffer, LONG cchBuffer,
wm->info.pchNext = wm->info.pchBuffer;
wm->info.pchEndRead = wm->info.pchBuffer;
wm->info.pchEndWrite = wm->info.pchBuffer + cchBuffer;
wm->info.lBufOffset = 0;
wm->info.lBufOffset = wm->info.lDiskOffset;
wm->bBufferLoaded = FALSE;
return MMSYSERR_NOERROR;