aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2010-09-09 12:01:04 +0000
committerFilippos Karapetis2010-09-09 12:01:04 +0000
commit16a7046519e1d0c355358e722e968a0c7de24b02 (patch)
tree2debf0acf33a61ff741a44af5e256882a5a526c3 /engines
parentc3c36cc59b46d9ef4e57bd58279a89dd8b8d5e4f (diff)
downloadscummvm-rg350-16a7046519e1d0c355358e722e968a0c7de24b02.tar.gz
scummvm-rg350-16a7046519e1d0c355358e722e968a0c7de24b02.tar.bz2
scummvm-rg350-16a7046519e1d0c355358e722e968a0c7de24b02.zip
SCI: Changed the error message when execute_method() references an invalid export
svn-id: r52653
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/vm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index b03b1a8f20..eaf6d2e126 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -318,10 +318,10 @@ ExecStack *execute_method(EngineState *s, uint16 script, uint16 pubfunct, StackP
// HACK: Temporarily switch to a warning in SCI32 games until we can figure out why Torin has
// an invalid exported function.
if (getSciVersion() >= SCI_VERSION_2)
- warning("Request for invalid exported function 0x%x of script 0x%x", pubfunct, script);
+ warning("Request for invalid exported function 0x%x of script %d", pubfunct, script);
else
#endif
- error("Request for invalid exported function 0x%x of script 0x%x", pubfunct, script);
+ error("Request for invalid exported function 0x%x of script %d", pubfunct, script);
return NULL;
}