diff options
author | Travis Howell | 2006-05-29 12:45:11 +0000 |
---|---|---|
committer | Travis Howell | 2006-05-29 12:45:11 +0000 |
commit | a0d14a08320166437585548f2ddabc03e5faef7e (patch) | |
tree | 7eb7a1eb3e95da7b3675c3a287d121e468711fd1 /engines/scumm/gfx.cpp | |
parent | 5fa3985bcbd96558d8adb0e306f1cfd0b10b2e03 (diff) | |
download | scummvm-rg350-a0d14a08320166437585548f2ddabc03e5faef7e.tar.gz scummvm-rg350-a0d14a08320166437585548f2ddabc03e5faef7e.tar.bz2 scummvm-rg350-a0d14a08320166437585548f2ddabc03e5faef7e.zip |
Fix Commodore 64 versions
svn-id: r22732
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r-- | engines/scumm/gfx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp index 663edcdf30..a0ff7a8a37 100644 --- a/engines/scumm/gfx.cpp +++ b/engines/scumm/gfx.cpp @@ -222,7 +222,7 @@ void Gdi::init() { } void Gdi::roomChanged(byte *roomptr, uint32 IM00_offs, byte transparentColor) { - if (_vm->_game.version == 1) { + if (_vm->_game.version <= 1) { if (_vm->_game.platform == Common::kPlatformNES) { decodeNESGfx(roomptr); } else { @@ -1404,7 +1404,7 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int wi _objectMode = (flag & dbObjectMode) == dbObjectMode; - if (_objectMode && _vm->_game.version == 1) { + if (_objectMode && _vm->_game.version <= 1) { if (_vm->_game.platform == Common::kPlatformNES) { decodeNESObject(ptr, x, y, width, height); } else { @@ -1484,7 +1484,7 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int wi else dstPtr = (byte *)vs->pixels + y * vs->pitch + (x + k) * 8; - if (_vm->_game.version == 1) { + if (_vm->_game.version <= 1) { if (_vm->_game.platform == Common::kPlatformNES) { mask_ptr = getMaskBuffer(x + k, y, 1); drawStripNES(dstPtr, mask_ptr, vs->pitch, stripnr, y, height); @@ -1535,7 +1535,7 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int wi if (_vm->_game.version == 8 || _vm->_game.heversion >= 60) transpStrip = true; - if (_vm->_game.version == 1) { + if (_vm->_game.version <= 1) { mask_ptr = getMaskBuffer(x + k, y, 1); if (_vm->_game.platform == Common::kPlatformNES) { drawStripNESMask(mask_ptr, stripnr, y, height); |