diff options
author | Martin Kiewitz | 2017-02-26 00:24:13 +0100 |
---|---|---|
committer | Martin Kiewitz | 2017-02-26 00:24:57 +0100 |
commit | 26b6d450df37f1a299c154cb24c03af48f96ef58 (patch) | |
tree | 1b3fe0669c471ab0dc9a79411b2c86985a7d96ea /engines/sci/engine/kernel_tables.h | |
parent | 29b32d52fa73de3a93d7bafabe1c58c7720de61c (diff) | |
download | scummvm-rg350-26b6d450df37f1a299c154cb24c03af48f96ef58.tar.gz scummvm-rg350-26b6d450df37f1a299c154cb24c03af48f96ef58.tar.bz2 scummvm-rg350-26b6d450df37f1a299c154cb24c03af48f96ef58.zip |
SCI: Clean up kRandom + allow 0 parameters via signatures
Also added in depth comments about the currently known variations
Returning the RNG seed is now implemented (although it seems no
games actually use this functionality, it seems to be just script
bugs).
Also remove Torin kRandom workarounds.
Diffstat (limited to 'engines/sci/engine/kernel_tables.h')
-rw-r--r-- | engines/sci/engine/kernel_tables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel_tables.h b/engines/sci/engine/kernel_tables.h index af8e2d8f70..211d96bc2f 100644 --- a/engines/sci/engine/kernel_tables.h +++ b/engines/sci/engine/kernel_tables.h @@ -758,7 +758,7 @@ static SciKernelMapEntry s_kernelMap[] = { { MAP_CALL(Portrait), SIG_EVERYWHERE, "i(.*)", NULL, NULL }, // subop { MAP_CALL(PrevNode), SIG_EVERYWHERE, "n", NULL, NULL }, { MAP_CALL(PriCoord), SIG_EVERYWHERE, "i", NULL, NULL }, - { MAP_CALL(Random), SIG_EVERYWHERE, "i(i)(i)", NULL, kRandom_workarounds }, + { MAP_CALL(Random), SIG_EVERYWHERE, "(i)(i)", NULL, NULL }, { MAP_CALL(ReadNumber), SIG_EVERYWHERE, "r", NULL, kReadNumber_workarounds }, { MAP_CALL(RemapColors), SIG_SCI11, SIGFOR_ALL, "i(i)(i)(i)(i)", NULL, NULL }, #ifdef ENABLE_SCI32 |