aboutsummaryrefslogtreecommitdiff
path: root/scumm
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
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')
-rw-r--r--scumm/gfx.cpp2
-rw-r--r--scumm/scumm.h2
2 files changed, 2 insertions, 2 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);
diff --git a/scumm/scumm.h b/scumm/scumm.h
index da71ab1e1a..b3728b397f 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -878,7 +878,7 @@ public:
uint16 _palManipCounter;
byte *_palManipPalette;
byte *_palManipIntermediatePal;
- uint32 gfxUsageBits[200];
+ uint32 gfxUsageBits[240];
byte *_shadowPalette;
int _shadowPaletteSize;
byte _currentPalette[0x300];