aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Skovlund2019-01-03 18:45:08 +0100
committerFilippos Karapetis2019-01-05 22:25:31 +0200
commit939f9d12850215ce2d6b0e907cca7f6171c360d8 (patch)
tree04ec1ed4b60b9eb0214e63e67674f893991ea213
parent26d0935b9ff1803863a9bc58b4479867a489cf66 (diff)
downloadscummvm-rg350-939f9d12850215ce2d6b0e907cca7f6171c360d8.tar.gz
scummvm-rg350-939f9d12850215ce2d6b0e907cca7f6171c360d8.tar.bz2
scummvm-rg350-939f9d12850215ce2d6b0e907cca7f6171c360d8.zip
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.
-rw-r--r--engines/sci/engine/kernel_tables.h3
1 files changed, 2 insertions, 1 deletions
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 },