diff options
Diffstat (limited to 'engines/lab')
-rw-r--r-- | engines/lab/dispman.cpp | 4 | ||||
-rw-r--r-- | engines/lab/dispman.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/lab/dispman.cpp b/engines/lab/dispman.cpp index f490503145..0f2bc933e8 100644 --- a/engines/lab/dispman.cpp +++ b/engines/lab/dispman.cpp @@ -88,7 +88,7 @@ void DisplayMan::loadBackPict(const Common::String fileName, uint16 *highPal) { _vm->_anim->_noPalChange = false; } -void DisplayMan::readPict(const Common::String filename, bool playOnce, bool onlyDiffData, byte *memoryBuffer, uint16 maxHeight) { +void DisplayMan::readPict(const Common::String filename, bool playOnce, bool onlyDiffData, byte *memoryBuffer) { _vm->_anim->stopDiff(); loadPict(filename); _vm->updateMusicAndEvents(); @@ -813,7 +813,7 @@ void DisplayMan::doTransWipe(CloseDataPtr *closePtrList, const Common::String fi _vm->_curFileName = _vm->getPictName(closePtrList); byte *bitMapBuffer = new byte[_screenWidth * (lastY + 5)]; - readPict(_vm->_curFileName, true, false, bitMapBuffer, lastY + 5); + readPict(_vm->_curFileName, true, false, bitMapBuffer); setPalette(_vm->_anim->_diffPalette, 256); diff --git a/engines/lab/dispman.h b/engines/lab/dispman.h index 3761e31be9..8e9cfdff51 100644 --- a/engines/lab/dispman.h +++ b/engines/lab/dispman.h @@ -85,7 +85,7 @@ public: /** * Reads in a picture into the display bitmap. */ - void readPict(const Common::String filename, bool playOnce = true, bool onlyDiffData = false, byte *memoryBuffer = nullptr, uint16 maxHeight = 0); + void readPict(const Common::String filename, bool playOnce = true, bool onlyDiffData = false, byte *memoryBuffer = nullptr); void freePict(); /** |