Fixed incorrect use of kMainVirtScreen

svn-id: r17826
This commit is contained in:
Max Horn 2005-04-26 15:41:15 +00:00
parent e88ed2908e
commit ab53558315

View file

@ -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);