aboutsummaryrefslogtreecommitdiff
path: root/gfx.cpp
diff options
context:
space:
mode:
authorJames Brown2002-03-14 13:57:28 +0000
committerJames Brown2002-03-14 13:57:28 +0000
commitfa9cc1d34118490dacc60e45e91ae614459f5136 (patch)
tree54ab1ce2bbfd02566f40d19ca881e0978d37dc06 /gfx.cpp
parenta5d424aa18f933a003ecbae5bddf9428a559de15 (diff)
downloadscummvm-rg350-fa9cc1d34118490dacc60e45e91ae614459f5136.tar.gz
scummvm-rg350-fa9cc1d34118490dacc60e45e91ae614459f5136.tar.bz2
scummvm-rg350-fa9cc1d34118490dacc60e45e91ae614459f5136.zip
Make some code-execution changes to allow early initilisation of GUI.
svn-id: r3748
Diffstat (limited to 'gfx.cpp')
-rw-r--r--gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx.cpp b/gfx.cpp
index b6b3d6ad19..7ce21116ca 100644
--- a/gfx.cpp
+++ b/gfx.cpp
@@ -80,9 +80,9 @@ void Scumm::initVirtScreen(int slot, int top, int height, bool twobufs, bool fou
vs->xstart = 0;
size = vs->width * vs->height;
vs->size = size;
+
if (vs->scrollable)
size += 320*4;
-
createResource(rtBuffer, slot+1, size);
if (twobufs) {