fix nexus scrolling in the dig, but partialy, there is also memory coruption with this

svn-id: r5142
This commit is contained in:
Paweł Kołodziejski 2002-10-13 18:14:48 +00:00
parent 43bb5deec9
commit 9a8b23030a
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -878,7 +878,7 @@ public:
uint16 _palManipCounter;
byte *_palManipPalette;
byte *_palManipIntermediatePal;
uint32 gfxUsageBits[200];
uint32 gfxUsageBits[240];
byte *_shadowPalette;
int _shadowPaletteSize;
byte _currentPalette[0x300];