diff options
Diffstat (limited to 'engines/gob/saveload_v3.cpp')
-rw-r--r-- | engines/gob/saveload_v3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/saveload_v3.cpp b/engines/gob/saveload_v3.cpp index dab5fd9385..265f8a2c62 100644 --- a/engines/gob/saveload_v3.cpp +++ b/engines/gob/saveload_v3.cpp @@ -308,7 +308,7 @@ bool SaveLoad_v3::loadGame(SaveFile &saveFile, saveFile.slot = getSlot(offset); int slotRem = getSlotRemainder(offset); - debugC(2, kDebugSaveLoad, "Loading from slot %d", saveFile.slot); + debugC(2, kDebugSaveLoad, "Loading from slot %d", saveFile.slot); SaveLoad::setCurrentSlot(saveFile.destName, saveFile.slot); @@ -569,7 +569,7 @@ bool SaveLoad_v3::saveScreenshot(SaveFile &saveFile, if (!_screenshot.savePalette(_vm->_global->_pPaletteDesc->vgaPal)) return false; - + byte *buffer = new byte[_screenshotSize]; if (!_screenshot.toBuffer(buffer, _screenshotSize, palette)) { |