aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-10 21:47:37 +0000
committerMartin Kiewitz2010-07-10 21:47:37 +0000
commit5721b75205acd15053430f24e92b8f170478ced0 (patch)
tree01778d99b7e40370d2c099d5258618951f21eed0
parent09fd47236d82c169a0c2886f6baa752beb401a3d (diff)
downloadscummvm-rg350-5721b75205acd15053430f24e92b8f170478ced0.tar.gz
scummvm-rg350-5721b75205acd15053430f24e92b8f170478ced0.tar.bz2
scummvm-rg350-5721b75205acd15053430f24e92b8f170478ced0.zip
SCI: fixing kGraph(updateBox) signature for kq6 hires/lowres (allowing null reference)
svn-id: r50793
-rw-r--r--engines/sci/engine/kernel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp
index 44062d70c0..7796f31047 100644
--- a/engines/sci/engine/kernel.cpp
+++ b/engines/sci/engine/kernel.cpp
@@ -378,7 +378,8 @@ static const SciKernelMapSubEntry kGraph_subops[] = {
{ SIG_SCIALL, 9, MAP_CALL(GraphFillBoxBackground), "iiii", NULL },
{ SIG_SCIALL, 10, MAP_CALL(GraphFillBoxForeground), "iiii", NULL },
{ SIG_SCIALL, 11, MAP_CALL(GraphFillBoxAny), "iiiiii(i)(i)", kGraphFillBoxAny_workarounds },
- { SIG_SCIALL, 12, MAP_CALL(GraphUpdateBox), "iiii(i)(r)", NULL },
+ { SIG_SCI11, 12, MAP_CALL(GraphUpdateBox), "iiii(i)(r0)", NULL }, // kq6 hires
+ { SIG_SCIALL, 12, MAP_CALL(GraphUpdateBox), "iiii(i)", NULL },
{ SIG_SCIALL, 13, MAP_CALL(GraphRedrawBox), "iiii", NULL },
{ SIG_SCIALL, 14, MAP_CALL(GraphAdjustPriority), "ii", NULL },
{ SIG_SCI11, 15, MAP_CALL(GraphSaveUpscaledHiresBox), "iiii", NULL }, // kq6 hires