aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2006-11-23 06:52:03 +0000
committerEugene Sandulenko2006-11-23 06:52:03 +0000
commit45c645159f1685a0f5e0300ceb0d4e84b237b1f4 (patch)
treeb66e5f89fa725e76e025fbef39c2fa92b1ce7920
parent8476b767f92dcd9b3a04a236ed4c8ec5efaa8a16 (diff)
downloadscummvm-rg350-45c645159f1685a0f5e0300ceb0d4e84b237b1f4.tar.gz
scummvm-rg350-45c645159f1685a0f5e0300ceb0d4e84b237b1f4.tar.bz2
scummvm-rg350-45c645159f1685a0f5e0300ceb0d4e84b237b1f4.zip
Add missing dump script cases.
svn-id: r24770
-rw-r--r--engines/cine/script.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cine/script.cpp b/engines/cine/script.cpp
index 8bcd9b78b1..3fc4edfa3b 100644
--- a/engines/cine/script.cpp
+++ b/engines/cine/script.cpp
@@ -2461,6 +2461,10 @@ void decompileScript(byte *scriptPtr, int16 *stackPtr, uint16 scriptSize, uint16
sprintf(lineBuffer, "var[%d]=mouse.Y\n", param1);
} else if (param2 == 5) {
sprintf(lineBuffer, "var[%d]=rand() mod %d\n", param1, param3);
+ } else if (param2 == 8) {
+ sprintf(lineBuffer, "var[%d]=file[%d].packedSize\n", param1, param3);
+ } else if (param2 == 9) {
+ sprintf(lineBuffer, "var[%d]=file[%d].unpackedSize\n", param1, param3);
} else {
error("decompileScript: 0x09: param2 = %d", param2);
}