[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.483,2.484
Eugene Sandulenko
sev at users.sourceforge.net
Fri Jan 6 06:01:18 CET 2006
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1548
Modified Files:
gfx.cpp
Log Message:
Partial fix for MM NES crash. Thanks to Quietust
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.483
retrieving revision 2.484
diff -u -d -r2.483 -r2.484
--- gfx.cpp 2 Jan 2006 23:36:33 -0000 2.483
+++ gfx.cpp 6 Jan 2006 13:56:46 -0000 2.484
@@ -575,7 +575,7 @@
// 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)
+ while (x + width >= _screenWidth)
width -= 16;
}
More information about the Scummvm-git-logs
mailing list