aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Battaglia2009-05-18 20:05:30 +0000
committerFabio Battaglia2009-05-18 20:05:30 +0000
commitb70bbcf3064e7b8f882d7287b02e3408b8179d88 (patch)
tree0567e7c6e566204f06b11296dc9b6d286f82ea9b
parent7e11e57339dd70a144966791743b627ccdfca60b (diff)
downloadscummvm-rg350-b70bbcf3064e7b8f882d7287b02e3408b8179d88.tar.gz
scummvm-rg350-b70bbcf3064e7b8f882d7287b02e3408b8179d88.tar.bz2
scummvm-rg350-b70bbcf3064e7b8f882d7287b02e3408b8179d88.zip
tinsel: fixed "Unknown drawing type" for inventory in Discworld PSX
svn-id: r40698
-rw-r--r--engines/tinsel/graphics.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/tinsel/graphics.cpp b/engines/tinsel/graphics.cpp
index dc66db714b..1e1889ec84 100644
--- a/engines/tinsel/graphics.cpp
+++ b/engines/tinsel/graphics.cpp
@@ -862,6 +862,11 @@ void DrawObject(DRAWOBJECT *pObj) {
case 0x48:
PsxDrawTiles(pObj, srcPtr, destPtr, typeId >= 0x40, psxFourBitClut, psxSkipBytes, pObj->pPal->posInDAC, false);
break;
+ case 0x84:
+ case 0xC4:
+ // WrtTrans with/without clipping
+ WrtTrans(pObj, destPtr, typeId == 0xC4);
+ break;
default:
error("Unknown drawing type %d", typeId);
}