aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-23 20:47:15 +0000
committerMartin Kiewitz2010-07-23 20:47:15 +0000
commit3a45e47c5c92435353d7524fea56dc7d30788dcf (patch)
treefad1e366f4c5a2ae238e4536179d486a65281fd2 /engines/sci/engine/kernel.h
parentcc6f4f4cdc1acd407cccd061e73b0ddb63f4b5ab (diff)
downloadscummvm-rg350-3a45e47c5c92435353d7524fea56dc7d30788dcf.tar.gz
scummvm-rg350-3a45e47c5c92435353d7524fea56dc7d30788dcf.tar.bz2
scummvm-rg350-3a45e47c5c92435353d7524fea56dc7d30788dcf.zip
SCI: adding new debug command logkernel
svn-id: r51220
Diffstat (limited to 'engines/sci/engine/kernel.h')
-rw-r--r--engines/sci/engine/kernel.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel.h b/engines/sci/engine/kernel.h
index 8467a640af..19cf11affa 100644
--- a/engines/sci/engine/kernel.h
+++ b/engines/sci/engine/kernel.h
@@ -135,7 +135,7 @@ struct KernelFunction {
const SciWorkaroundEntry *workarounds;
const KernelSubFunction *subFunctions;
uint16 subFunctionCount;
- bool debugCalls;
+ bool debugLogging;
};
class Kernel {
@@ -216,6 +216,11 @@ public:
*/
void loadKernelNames(GameFeatures *features);
+ /**
+ * Sets debugCalls flag for a kernel function
+ */
+ bool debugSetFunctionLogging(const char *kernelName, bool debugCalls);
+
private:
/**
* Sets the default kernel function names, based on the SCI version used.