aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-12-24 15:45:23 +0000
committerMax Horn2002-12-24 15:45:23 +0000
commit22ab263b002c2f0946fa56c2463860f64b384278 (patch)
treee8fe26502daa21e4f3ee11e72a0ee80835b1c325
parent908de409193053d28dd23ff733d2edfdd83b8714 (diff)
downloadscummvm-rg350-22ab263b002c2f0946fa56c2463860f64b384278.tar.gz
scummvm-rg350-22ab263b002c2f0946fa56c2463860f64b384278.tar.bz2
scummvm-rg350-22ab263b002c2f0946fa56c2463860f64b384278.zip
getting graphics in COMI, woohoo! That's a nice christmas present, isn't it? :-)
svn-id: r6103
-rw-r--r--scumm/gfx.cpp3
-rw-r--r--scumm/scummvm.cpp2
2 files changed, 5 insertions, 0 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 0ff6ddf858..39042907d0 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -810,6 +810,9 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, const int h,
assert(smap_ptr);
+ if (_vm->_features & GF_AFTER_V8)
+ smap_ptr += 24;
+
numzbuf = _disable_zbuffer ? 0 : _numZBuffer;
if (_vm->_features & GF_SMALL_HEADER) {
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index f829eba34e..15abaea85c 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -741,6 +741,8 @@ void Scumm::initRoomSubBlocks()
if (_features & GF_SMALL_HEADER)
_IM00_offs = findResourceData(MKID('IM00'), roomptr) - roomptr;
+ else if (_features & GF_AFTER_V8)
+ _IM00_offs = findResourceData(MKID('IMAG'), roomptr) - roomptr;
else
_IM00_offs =
findResource(MKID('IM00'),