From 939f9d12850215ce2d6b0e907cca7f6171c360d8 Mon Sep 17 00:00:00 2001 From: Lars Skovlund Date: Thu, 3 Jan 2019 18:45:08 +0100 Subject: SCI32: Stub out kRestartGame Restarting was only supported in QfG4, GK1 and PQ4. Those three used makeshift script code. The kernel call was stubbed out in SSCI as well. Fixes bug #10681. --- engines/sci/engine/kernel_tables.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/sci/engine/kernel_tables.h b/engines/sci/engine/kernel_tables.h index 47786e5ada..672edd8c23 100644 --- a/engines/sci/engine/kernel_tables.h +++ b/engines/sci/engine/kernel_tables.h @@ -786,8 +786,9 @@ static SciKernelMapEntry s_kernelMap[] = { #endif { MAP_CALL(ResCheck), SIG_EVERYWHERE, "ii(iiii)", NULL, kResCheck_workarounds }, { MAP_CALL(RespondsTo), SIG_EVERYWHERE, ".i", NULL, NULL }, - { MAP_CALL(RestartGame), SIG_EVERYWHERE, "", NULL, NULL }, + { MAP_CALL(RestartGame), SIG_SCI16, SIGFOR_ALL, "", NULL, NULL }, #ifdef ENABLE_SCI32 + { MAP_EMPTY(RestartGame), SIG_SCI32, SIGFOR_ALL, "", NULL, NULL }, { "RestoreGame", kRestoreGame32, SIG_THRU_SCI21EARLY, SIGFOR_ALL, "ri[r0]", NULL, NULL }, #endif { MAP_CALL(RestoreGame), SIG_EVERYWHERE, "[r0]i[r0]", NULL, NULL }, -- cgit v1.2.3