aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.h
diff options
context:
space:
mode:
authorFilippos Karapetis2010-10-20 17:31:29 +0000
committerFilippos Karapetis2010-10-20 17:31:29 +0000
commit3d85d6804bb13a8cd2822b771aa2e6d4c8276a1d (patch)
tree5cdb3d4a52cd6cc932e13b84e22958d03df48ece /engines/sci/engine/kernel.h
parent64c0d2a1d1f2b2688e86092834f2e559c437cd29 (diff)
downloadscummvm-rg350-3d85d6804bb13a8cd2822b771aa2e6d4c8276a1d.tar.gz
scummvm-rg350-3d85d6804bb13a8cd2822b771aa2e6d4c8276a1d.tar.bz2
scummvm-rg350-3d85d6804bb13a8cd2822b771aa2e6d4c8276a1d.zip
SCI: Added a new debug command, "find_callk"
This command can be used to find the object methods (including their corresponding objects and owner scripts) that call a specific kernel call. This shall aid us track all the spots where a particular kernel function is called from, therefore it'll be a bit easier to find examples where unimplemented kernel functions are called svn-id: r53646
Diffstat (limited to 'engines/sci/engine/kernel.h')
-rw-r--r--engines/sci/engine/kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/kernel.h b/engines/sci/engine/kernel.h
index e50c6aaae2..9833f91a5e 100644
--- a/engines/sci/engine/kernel.h
+++ b/engines/sci/engine/kernel.h
@@ -151,6 +151,7 @@ public:
uint getSelectorNamesSize() const;
const Common::String &getSelectorName(uint selector);
+ int findKernelFuncPos(Common::String kernelFuncName);
uint getKernelNamesSize() const;
const Common::String &getKernelName(uint number) const;