aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2012-01-15 21:10:18 +0200
committerFilippos Karapetis2012-01-15 21:10:18 +0200
commitc69ac88be24feb733c74967d367e469e4d90913b (patch)
treecfe6a291c0200cd17cb4755cee174af8c5cfa5ec /engines/sci/engine
parentcbe75278050eea9226be4a3286e101f04a8c87b9 (diff)
downloadscummvm-rg350-c69ac88be24feb733c74967d367e469e4d90913b.tar.gz
scummvm-rg350-c69ac88be24feb733c74967d367e469e4d90913b.tar.bz2
scummvm-rg350-c69ac88be24feb733c74967d367e469e4d90913b.zip
SCI: Ignore an invalid export in a script in the demo of RAMA
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/vm.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index cbe4736ba2..162dce9fcc 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -235,6 +235,9 @@ ExecStack *execute_method(EngineState *s, uint16 script, uint16 pubfunct, StackP
if (g_sci->getGameId() == GID_TORIN && script == 64036) {
// Script 64036 in Torin's Passage is empty and contains an invalid
// (empty) export
+ } else if (g_sci->getGameId() == GID_RAMA && script == 64908) {
+ // Script 64908 in the demo of RAMA contains an invalid (empty)
+ // export
} else
#endif
error("Request for invalid exported function 0x%x of script %d", pubfunct, script);