aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/gfx.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index bbbdad8360..433c43034a 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -430,6 +430,13 @@ void ScummEngine::initBGBuffers(int height) {
int size, itemsize, i;
byte *room;
+ if (_version >= 7) {
+ // Resize main virtual screen in V7 games. This is necessary
+ // because in V7, rooms may be higher than one screen, so we have
+ // to accomodate for that.
+ initVirtScreen(kMainVirtScreen, 0, virtscr[0].topline, _screenWidth, height, 1, 1);
+ }
+
room = getResourceAddress(rtRoom, _roomResource);
if (_version <= 3) {
gdi._numZBuffer = 2;