diff options
author | Martin Kiewitz | 2010-06-10 10:15:32 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-10 10:15:32 +0000 |
commit | 8a5762c52db029386135ed7dd83f69fe5d34509c (patch) | |
tree | 78db805156364805d10fc4351b5f3ed66595acc0 /engines/sci/engine/savegame.cpp | |
parent | cc6f5eb3e42bb4f7af47a70802a236fdbffc7b74 (diff) | |
download | scummvm-rg350-8a5762c52db029386135ed7dd83f69fe5d34509c.tar.gz scummvm-rg350-8a5762c52db029386135ed7dd83f69fe5d34509c.tar.bz2 scummvm-rg350-8a5762c52db029386135ed7dd83f69fe5d34509c.zip |
SCI: set picport when loading saved games
svn-id: r49565
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index 224115f95f..0376486667 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -369,6 +369,10 @@ void EngineState::saveLoadWithSerializer(Common::Serializer &s) { s.syncAsSint16LE(picPortRect.right); s.syncAsSint16LE(picPortTop); s.syncAsSint16LE(picPortLeft); + + if (s.isLoading()) { + g_sci->_gfxPorts->kernelSetPicWindow(picPortRect, picPortTop, picPortLeft, false); + } } s.skip(1, VER(9), VER(9)); // obsolete: used to be a flag indicating if we got sci11 or not |