aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-08-03 19:06:40 +0000
committerMartin Kiewitz2010-08-03 19:06:40 +0000
commitfcede4680a03e4f7a389a43f71d1484794e8dead (patch)
tree04ced1e4a233dd6f4022caf6221c5e7221e51633 /engines/sci/engine/kernel.h
parent449927abcf3c7c5b7346b6483375f19150ebc3bd (diff)
downloadscummvm-rg350-fcede4680a03e4f7a389a43f71d1484794e8dead.tar.gz
scummvm-rg350-fcede4680a03e4f7a389a43f71d1484794e8dead.tar.bz2
scummvm-rg350-fcede4680a03e4f7a389a43f71d1484794e8dead.zip
SCI: adding bpk debug command
currently removing or listing such breakpoints is not yet supported svn-id: r51710
Diffstat (limited to 'engines/sci/engine/kernel.h')
-rw-r--r--engines/sci/engine/kernel.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sci/engine/kernel.h b/engines/sci/engine/kernel.h
index 02ce102f30..b6247b46f1 100644
--- a/engines/sci/engine/kernel.h
+++ b/engines/sci/engine/kernel.h
@@ -127,6 +127,7 @@ struct KernelSubFunction {
uint16 *signature;
const SciWorkaroundEntry *workarounds;
bool debugLogging;
+ bool debugBreakpoint;
};
struct KernelFunction {
@@ -137,6 +138,7 @@ struct KernelFunction {
KernelSubFunction *subFunctions;
uint16 subFunctionCount;
bool debugLogging;
+ bool debugBreakpoint;
};
class Kernel {
@@ -218,9 +220,9 @@ public:
void loadKernelNames(GameFeatures *features);
/**
- * Sets debugCalls flag for a kernel function
+ * Sets debug flags for a kernel function
*/
- bool debugSetFunctionLogging(const char *kernelName, bool debugCalls);
+ bool debugSetFunction(const char *kernelName, int logging, int breakpoint);
private:
/**