diff options
| author | Max Horn | 2005-04-26 15:41:15 +0000 |
|---|---|---|
| committer | Max Horn | 2005-04-26 15:41:15 +0000 |
| commit | ab5355831540e802e838b8872e09db3c3ea97b7a (patch) | |
| tree | 7a523d40730bd960ba796a01c6c3a5f09dc1871e | |
| parent | e88ed2908e1480f3cd6ffafe878003f276049bea (diff) | |
| download | scummvm-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.cpp | 2 |
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); |
