aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2002-12-24 15:27:27 +0000
committerMax Horn2002-12-24 15:27:27 +0000
commit908de409193053d28dd23ff733d2edfdd83b8714 (patch)
tree31c42ad692d7a5ebaca679abd00d964238bd0529 /scumm/gfx.cpp
parent45aec3ef0dc5404dd47784ba7bb452ca502cf445 (diff)
downloadscummvm-rg350-908de409193053d28dd23ff733d2edfdd83b8714.tar.gz
scummvm-rg350-908de409193053d28dd23ff733d2edfdd83b8714.tar.bz2
scummvm-rg350-908de409193053d28dd23ff733d2edfdd83b8714.zip
some hacks to get V8 loading further. It now fails because it can't find the SMAP resource
svn-id: r6102
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 1fc58feb22..0ff6ddf858 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -668,7 +668,7 @@ void Scumm::redrawBGStrip(int start, int num)
gfxUsageBits[s + i] |= 0x80000000;
gdi.drawBitmap(getResourceAddress(rtRoom, _roomResource) + _IM00_offs,
- &virtscr[0], s, 0, virtscr[0].height, s, num, 0);
+ &virtscr[0], s, 0, virtscr[0].height, s, num, 0);
}
void Scumm::restoreCharsetBg()
@@ -1708,7 +1708,10 @@ void Scumm::setCameraAt(int pos_x, int pos_y)
&& _vars[VAR_SCROLL_SCRIPT]) {
_vars[VAR_CAMERA_POS_X] = camera._cur.x;
_vars[VAR_CAMERA_POS_Y] = camera._cur.y;
- runScript(_vars[VAR_SCROLL_SCRIPT], 0, 0, 0);
+ // FIXME - HACK - for now disable scroll script in V8, until we figure out
+ // what value VAR_SCROLL_SCRIPT has.
+ if (!(_features & GF_AFTER_V8))
+ runScript(_vars[VAR_SCROLL_SCRIPT], 0, 0, 0);
}
} else {
int t;