[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.479,2.480
kirben
kirben at users.sourceforge.net
Mon Dec 19 22:56:03 CET 2005
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10087/scumm
Modified Files:
gfx.cpp
Log Message:
Change from Quietust:
-Fix assert regressions in NES version of maniac
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.479
retrieving revision 2.480
diff -u -d -r2.479 -r2.480
--- gfx.cpp 3 Dec 2005 18:56:28 -0000 2.479
+++ gfx.cpp 20 Dec 2005 06:55:00 -0000 2.480
@@ -568,6 +568,8 @@
// other games we shift it right on rendering stage
if ((_platform == Common::kPlatformNES) && (((_NESStartStrip > 0) && (vs->number == kMainVirtScreen)) || (vs->number == kTextVirtScreen))) {
x += 16;
+ if (x + width >= _screenWidth)
+ width -= 16;
}
_system->copyRectToScreen(_compositeBuf + x1 + y * _screenWidth, _screenWidth, x, y, width, height);
More information about the Scummvm-git-logs
mailing list