[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,1.30,1.31 scumm.h,1.38,1.39
Pawe? Ko?odziejski
aquadran at users.sourceforge.net
Sun Oct 13 11:15:06 CEST 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv27865
Modified Files:
gfx.cpp scumm.h
Log Message:
fix nexus scrolling in the dig, but partialy, there is also memory coruption with this
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- gfx.cpp 13 Oct 2002 11:28:39 -0000 1.30
+++ gfx.cpp 13 Oct 2002 18:14:48 -0000 1.31
@@ -107,7 +107,7 @@
vs->backBuf = NULL;
if (vs->scrollable)
- size += _realWidth * 4;
+ size += _realWidth * 8;
createResource(rtBuffer, slot + 1, size);
vs->screenPtr = getResourceAddress(rtBuffer, slot + 1);
Index: scumm.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- scumm.h 11 Oct 2002 08:35:12 -0000 1.38
+++ scumm.h 13 Oct 2002 18:14:48 -0000 1.39
@@ -878,7 +878,7 @@
uint16 _palManipCounter;
byte *_palManipPalette;
byte *_palManipIntermediatePal;
- uint32 gfxUsageBits[200];
+ uint32 gfxUsageBits[240];
byte *_shadowPalette;
int _shadowPaletteSize;
byte _currentPalette[0x300];
More information about the Scummvm-git-logs
mailing list