diff options
author | Colin Snover | 2016-10-01 15:18:36 -0500 |
---|---|---|
committer | Colin Snover | 2016-10-01 15:26:34 -0500 |
commit | fb129116cd8011cb54dd434c4998553ca6555cc7 (patch) | |
tree | 8c867de2a56b66c47190316279b2653308429644 /engines | |
parent | a4758dac41e4c53c59c8b85545aeb8d8f5ed62bd (diff) | |
download | scummvm-rg350-fb129116cd8011cb54dd434c4998553ca6555cc7.tar.gz scummvm-rg350-fb129116cd8011cb54dd434c4998553ca6555cc7.tar.bz2 scummvm-rg350-fb129116cd8011cb54dd434c4998553ca6555cc7.zip |
SCI32: Stub kGraph
This kernel call exists only in SCI2 and is a null subroutine. It
is called at the beginning of GK1.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/kernel_tables.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/sci/engine/kernel_tables.h b/engines/sci/engine/kernel_tables.h index d616bfe645..6b3156972c 100644 --- a/engines/sci/engine/kernel_tables.h +++ b/engines/sci/engine/kernel_tables.h @@ -248,7 +248,7 @@ static const SciKernelMapSubEntry kDoAudio_subops[] = { // version, subId, function-mapping, signature, workarounds static const SciKernelMapSubEntry kGraph_subops[] = { - { SIG_SCI32, 1, MAP_CALL(StubNull), "", NULL }, // called by gk1 sci32 right at the start + // 1 - load bits { SIG_SCIALL, 2, MAP_CALL(GraphGetColorCount), "", NULL }, // 3 - set palette via resource { SIG_SCIALL, 4, MAP_CALL(GraphDrawLine), "iiiii(i)(i)", kGraphDrawLine_workarounds }, @@ -698,7 +698,10 @@ static SciKernelMapEntry s_kernelMap[] = { #ifdef ENABLE_SCI32 { "GlobalToLocal", kGlobalToLocal32, SIG_SCI32, SIGFOR_ALL, "oo", NULL, NULL }, #endif - { MAP_CALL(Graph), SIG_EVERYWHERE, NULL, kGraph_subops, NULL }, + { MAP_CALL(Graph), SIG_SCI16, SIGFOR_ALL, NULL, kGraph_subops, NULL }, +#ifdef ENABLE_SCI32 + { MAP_EMPTY(Graph), SIG_SCI32, SIGFOR_ALL, "(.*)", NULL, NULL }, +#endif { MAP_CALL(HaveMouse), SIG_EVERYWHERE, "", NULL, NULL }, { MAP_CALL(HiliteControl), SIG_EVERYWHERE, "o", NULL, NULL }, { MAP_CALL(InitBresen), SIG_EVERYWHERE, "o(i)", NULL, NULL }, |