aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/gfx.cpp
diff options
context:
space:
mode:
authorTravis Howell2007-02-16 02:26:42 +0000
committerTravis Howell2007-02-16 02:26:42 +0000
commit8bef04f94a443566a8dfa033fa81404bbdbf7725 (patch)
tree0bb4686532b5e072f4c30c37aed81c52415434f1 /engines/scumm/gfx.cpp
parentf8c288648121b32182ab81acf85194f154905737 (diff)
downloadscummvm-rg350-8bef04f94a443566a8dfa033fa81404bbdbf7725.tar.gz
scummvm-rg350-8bef04f94a443566a8dfa033fa81404bbdbf7725.tar.bz2
scummvm-rg350-8bef04f94a443566a8dfa033fa81404bbdbf7725.zip
Add Quietust's patch, to fix graphical glitch in MM NES with scrolling and objects.
svn-id: r25619
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r--engines/scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}