aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2005-04-26 15:41:15 +0000
committerMax Horn2005-04-26 15:41:15 +0000
commitab5355831540e802e838b8872e09db3c3ea97b7a (patch)
tree7a523d40730bd960ba796a01c6c3a5f09dc1871e
parente88ed2908e1480f3cd6ffafe878003f276049bea (diff)
downloadscummvm-rg350-ab5355831540e802e838b8872e09db3c3ea97b7a.tar.gz
scummvm-rg350-ab5355831540e802e838b8872e09db3c3ea97b7a.tar.bz2
scummvm-rg350-ab5355831540e802e838b8872e09db3c3ea97b7a.zip
Fixed incorrect use of kMainVirtScreen
svn-id: r17826
-rw-r--r--scumm/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp
index 3610ba420f..23ba6dac0f 100644
--- a/scumm/saveload.cpp
+++ b/scumm/saveload.cpp
@@ -301,7 +301,7 @@ bool ScummEngine::loadState(int slot, bool compat) {
sh = _screenH;
// Restore the virtual screens and force a fade to black.
- initScreens(kMainVirtScreen, _screenHeight);
+ initScreens(0, _screenHeight);
VirtScreen *vs = &virtscr[kMainVirtScreen];
memset(vs->getPixels(0, 0), 0, vs->pitch * vs->h);