aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authormd52011-03-25 13:26:20 +0200
committermd52011-03-25 13:37:00 +0200
commitd86504ef887c5f10fedbc081476a050295241cb4 (patch)
treebceaf93b0b1769a32596d63b46913bd76a9f0d19 /engines/sci/engine
parent4ceb4838ed9c153337a7a07fc03d3d1e78351af4 (diff)
downloadscummvm-rg350-d86504ef887c5f10fedbc081476a050295241cb4.tar.gz
scummvm-rg350-d86504ef887c5f10fedbc081476a050295241cb4.tar.bz2
scummvm-rg350-d86504ef887c5f10fedbc081476a050295241cb4.zip
SCI: Cleaned up the BreakpointType enum and documented the bpe command
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/vm.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index fdd4a4637f..1eb22ef754 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -272,9 +272,7 @@ static void validate_write_var(reg_t *r, reg_t *stack_base, int type, int max, i
bool SciEngine::checkExportBreakpoint(uint16 script, uint16 pubfunct) {
if (_debugState._activeBreakpointTypes & BREAK_EXPORT) {
- uint32 bpaddress;
-
- bpaddress = (script << 16 | pubfunct);
+ uint32 bpaddress = (script << 16 | pubfunct);
Common::List<Breakpoint>::const_iterator bp;
for (bp = _debugState._breakpoints.begin(); bp != _debugState._breakpoints.end(); ++bp) {