mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
fix nexus scrolling in the dig, but partialy, there is also memory coruption with this
svn-id: r5142
This commit is contained in:
parent
43bb5deec9
commit
9a8b23030a
@ -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);
|
||||
|
@ -878,7 +878,7 @@ public:
|
||||
uint16 _palManipCounter;
|
||||
byte *_palManipPalette;
|
||||
byte *_palManipIntermediatePal;
|
||||
uint32 gfxUsageBits[200];
|
||||
uint32 gfxUsageBits[240];
|
||||
byte *_shadowPalette;
|
||||
int _shadowPaletteSize;
|
||||
byte _currentPalette[0x300];
|
||||
|
Loading…
x
Reference in New Issue
Block a user