diff options
-rw-r--r-- | scumm/gfx.cpp | 2 | ||||
-rw-r--r-- | scumm/scumm.h | 2 |
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]; |