aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
diff options
context:
space:
mode:
authorsluicebox2020-01-09 18:03:32 -0800
committersluicebox2020-01-09 18:04:03 -0800
commite0a3a387b986ced784b9635244d29b924f830863 (patch)
tree82a71eaefe61027b8cf6332720fbd8f51540f220 /engines/sci/engine/vm.cpp
parenta804afc57192a5ca5db0ce408d658300ceb2651f (diff)
downloadscummvm-rg350-e0a3a387b986ced784b9635244d29b924f830863.tar.gz
scummvm-rg350-e0a3a387b986ced784b9635244d29b924f830863.tar.bz2
scummvm-rg350-e0a3a387b986ced784b9635244d29b924f830863.zip
SCI: Log bp_function (bpe) parameters in debugger
Trac #9833
Diffstat (limited to 'engines/sci/engine/vm.cpp')
-rw-r--r--engines/sci/engine/vm.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index b4221eb28c..e8808a715c 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -222,7 +222,9 @@ ExecStack *execute_method(EngineState *s, uint16 script, uint16 pubfunct, StackP
}
// Check if a breakpoint is set on this method
- g_sci->checkExportBreakpoint(script, pubfunct);
+ if (g_sci->checkExportBreakpoint(script, pubfunct)) {
+ logExportCall(script, pubfunct, s, argc, argp);
+ }
uint32 exportAddr = scr->validateExportFunc(pubfunct, false);
if (!exportAddr)