aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-10-13 18:14:48 +0000
committerPaweł Kołodziejski2002-10-13 18:14:48 +0000
commit9a8b23030adb4e99ffb97a57faecc394dc6c23b9 (patch)
tree08ece83abb23cdb47d8979a9eee5c16fce561ff4 /scumm/gfx.cpp
parent43bb5deec9ab7bfe4333688098c16beace533195 (diff)
downloadscummvm-rg350-9a8b23030adb4e99ffb97a57faecc394dc6c23b9.tar.gz
scummvm-rg350-9a8b23030adb4e99ffb97a57faecc394dc6c23b9.tar.bz2
scummvm-rg350-9a8b23030adb4e99ffb97a57faecc394dc6c23b9.zip
fix nexus scrolling in the dig, but partialy, there is also memory coruption with this
svn-id: r5142
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index a51be8a668..f6232d28b1 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -107,7 +107,7 @@ void Scumm::initVirtScreen(int slot, int number, int top, int width, int height,
vs->backBuf = NULL;
if (vs->scrollable)
- size += _realWidth * 4;
+ size += _realWidth * 8;
createResource(rtBuffer, slot + 1, size);
vs->screenPtr = getResourceAddress(rtBuffer, slot + 1);