Fixed incorrect use of kMainVirtScreen
svn-id: r17826
This commit is contained in:
parent
e88ed2908e
commit
ab53558315
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ bool ScummEngine::loadState(int slot, bool compat) {
|
||||||
sh = _screenH;
|
sh = _screenH;
|
||||||
|
|
||||||
// Restore the virtual screens and force a fade to black.
|
// Restore the virtual screens and force a fade to black.
|
||||||
initScreens(kMainVirtScreen, _screenHeight);
|
initScreens(0, _screenHeight);
|
||||||
|
|
||||||
VirtScreen *vs = &virtscr[kMainVirtScreen];
|
VirtScreen *vs = &virtscr[kMainVirtScreen];
|
||||||
memset(vs->getPixels(0, 0), 0, vs->pitch * vs->h);
|
memset(vs->getPixels(0, 0), 0, vs->pitch * vs->h);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue