From 8bef04f94a443566a8dfa033fa81404bbdbf7725 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 16 Feb 2007 02:26:42 +0000 Subject: Add Quietust's patch, to fix graphical glitch in MM NES with scrolling and objects. svn-id: r25619 --- engines/scumm/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp index 03cdb5db41..d0350aef40 100644 --- a/engines/scumm/gfx.cpp +++ b/engines/scumm/gfx.cpp @@ -1285,7 +1285,7 @@ void GdiNES::prepareDrawBitmap(const byte *ptr, VirtScreen *vs, const int x, const int y, const int width, const int height, int stripnr, int numstrip) { if (_objectMode) { - decodeNESObject(ptr, x, y, width, height); + decodeNESObject(ptr, x - stripnr, y, width, height); } } -- cgit v1.2.3