diff options
Diffstat (limited to 'engines/lab/anim.cpp')
-rw-r--r-- | engines/lab/anim.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/lab/anim.cpp b/engines/lab/anim.cpp index 5ecfa72402..f7770ade7b 100644 --- a/engines/lab/anim.cpp +++ b/engines/lab/anim.cpp @@ -414,6 +414,11 @@ void Anim::unDiff(byte *newBuf, byte *oldBuf, byte *diffData, uint16 bytesPerRow unDIFFMemory(newBuf, diffData, 1, bufType + 1); } +void Anim::readBlock(void *Buffer, uint32 Size, byte **File) { + memcpy(Buffer, *File, (size_t)Size); + (*File) += Size; +} + void Anim::diffNextFrame() { if (_header == 65535) /* Already done. */ return; |