aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorsluicebox2019-12-01 15:09:48 -0800
committersluicebox2019-12-01 15:09:48 -0800
commit01772497b7762ac2cf8949ca7904112b7fc25206 (patch)
treec9c5094d7989f041797b522c8ef9f0895a6168fe /engines/sci
parentc33a4f9d8d36e738d0045262cf1c3bf6c521c9ab (diff)
downloadscummvm-rg350-01772497b7762ac2cf8949ca7904112b7fc25206.tar.gz
scummvm-rg350-01772497b7762ac2cf8949ca7904112b7fc25206.tar.bz2
scummvm-rg350-01772497b7762ac2cf8949ca7904112b7fc25206.zip
SCI32: Create stubs for kPlayVMD blob subops
Prevents Phantasmagoria 1 from crashing while in censored mode. The "blob" subops pixelate rectangles during playback and are currently being implemented.
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kernel_tables.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/sci/engine/kernel_tables.h b/engines/sci/engine/kernel_tables.h
index 49a5168119..77b442eb39 100644
--- a/engines/sci/engine/kernel_tables.h
+++ b/engines/sci/engine/kernel_tables.h
@@ -468,8 +468,11 @@ static const SciKernelMapSubEntry kPlayVMD_subops[] = {
{ SIG_SINCE_SCI21, 10, MAP_CALL(PlayVMDGetStatus), "", NULL },
{ SIG_SINCE_SCI21, 14, MAP_CALL(PlayVMDPlayUntilEvent), "i(i)(i)", NULL },
{ SIG_SINCE_SCI21, 16, MAP_CALL(PlayVMDShowCursor), "i", NULL },
- { SIG_SINCE_SCI21, 17, MAP_DUMMY(PlayVMDStartBlob), "", NULL },
- { SIG_SINCE_SCI21, 18, MAP_DUMMY(PlayVMDStopBlobs), "", NULL },
+ // TODO: implement blob subops to pixelate Phant1 videos when censored mode is enabled
+ { SIG_SINCE_SCI21, 17, MAP_EMPTY(PlayVMDStartBlob), "", NULL },
+ { SIG_SINCE_SCI21, 18, MAP_EMPTY(PlayVMDStopBlobs), "", NULL },
+ { SIG_SINCE_SCI21, 19, MAP_EMPTY(PlayVMDAddBlob), "iiiii", NULL },
+ { SIG_SINCE_SCI21, 20, MAP_EMPTY(PlayVMDDeleteBlob), "i", NULL },
{ SIG_SINCE_SCI21, 21, MAP_CALL(PlayVMDSetBlackoutArea), "iiii", NULL },
{ SIG_SINCE_SCI21, 23, MAP_CALL(PlayVMDRestrictPalette), "ii", NULL },
{ SIG_SCI3, 27, MAP_CALL(PlayVMDSetPlane), "i(i)", NULL },