aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorColin Snover2017-06-15 00:16:45 -0500
committerColin Snover2017-06-17 13:09:27 -0500
commit7334f33a3d1fdb172d8987093bd677aeb9382571 (patch)
tree47abe29779fca5e35c46a863598d9c6a399bffdc /engines
parent9dbd9c567e298f076be0b1ce0a87b3db5566e3c9 (diff)
downloadscummvm-rg350-7334f33a3d1fdb172d8987093bd677aeb9382571.tar.gz
scummvm-rg350-7334f33a3d1fdb172d8987093bd677aeb9382571.tar.bz2
scummvm-rg350-7334f33a3d1fdb172d8987093bd677aeb9382571.zip
SCI: State SCI version in error if kernel subop detection fails
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp
index 539475c464..72c074ffed 100644
--- a/engines/sci/engine/kernel.cpp
+++ b/engines/sci/engine/kernel.cpp
@@ -656,7 +656,7 @@ void Kernel::mapFunctions() {
kernelSubMap++;
}
if (!subFunctionCount)
- error("k%s[%x]: no subfunctions found for requested version", kernelName.c_str(), id);
+ error("k%s[%x]: no subfunctions found for requested version %s", kernelName.c_str(), id, getSciVersionDesc(mySubVersion));
// Now allocate required memory and go through it again
_kernelFuncs[id].subFunctionCount = subFunctionCount;
KernelSubFunction *subFunctions = new KernelSubFunction[subFunctionCount];