mmio: Do not zero current file position whenever mmioSetBuffer is called.
This commit is contained in:
parent
63e9c1ee09
commit
f684dac0fc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue