diff options
author | Matthew Hoops | 2010-08-04 05:15:01 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-08-04 05:15:01 +0000 |
commit | 0eaa9bddb6beb605ef602dffb4da6dae9713ac50 (patch) | |
tree | 3359b462e5e5d2192b80204f09c5f01fe8eb4fb4 /engines/sci | |
parent | cbe07a07b7bad5dec7630d85675128cd5f7ece51 (diff) | |
download | scummvm-rg350-0eaa9bddb6beb605ef602dffb4da6dae9713ac50.tar.gz scummvm-rg350-0eaa9bddb6beb605ef602dffb4da6dae9713ac50.tar.bz2 scummvm-rg350-0eaa9bddb6beb605ef602dffb4da6dae9713ac50.zip |
SCI: Fix restoring SCI32 games (a regression of r51712)
svn-id: r51723
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index fb23b79c34..a086669997 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -760,7 +760,8 @@ void gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) { s->gameStartTime = g_system->getMillis(); s->_screenUpdateTime = g_system->getMillis(); - g_sci->_gfxPorts->reset(); + if (g_sci->_gfxPorts) + g_sci->_gfxPorts->reset(); g_sci->_soundCmd->reconstructPlayList(meta.savegame_version); |