diff options
author | Willem Jan Palenstijn | 2017-05-26 13:48:29 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2017-06-10 21:32:35 +0200 |
commit | cb69d10e962e2cea604175fdd35189726f6a6436 (patch) | |
tree | 4aba600ca9937f22e0d99c4eb9f7d489e190b667 /engines/sci/engine/scriptdebug.cpp | |
parent | 6d143e6da3e972fcf69c73028db702e89c53e278 (diff) | |
download | scummvm-rg350-cb69d10e962e2cea604175fdd35189726f6a6436.tar.gz scummvm-rg350-cb69d10e962e2cea604175fdd35189726f6a6436.tar.bz2 scummvm-rg350-cb69d10e962e2cea604175fdd35189726f6a6436.zip |
SCI: Add underscores to Breakpoint member variables
Diffstat (limited to 'engines/sci/engine/scriptdebug.cpp')
-rw-r--r-- | engines/sci/engine/scriptdebug.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp index 17fc27154c..a4392983a1 100644 --- a/engines/sci/engine/scriptdebug.cpp +++ b/engines/sci/engine/scriptdebug.cpp @@ -685,10 +685,10 @@ bool SciEngine::checkSelectorBreakpoint(BreakpointType breakpointType, reg_t sen Common::List<Breakpoint>::const_iterator bpIter; for (bpIter = _debugState._breakpoints.begin(); bpIter != _debugState._breakpoints.end(); ++bpIter) { - if (bpIter->type != breakpointType) + if (bpIter->_type != breakpointType) continue; - if (bpIter->name == methodName || - (bpIter->name.hasSuffix("::") && methodName.hasPrefix(bpIter->name))) { + if (bpIter->_name == methodName || + (bpIter->_name.hasSuffix("::") && methodName.hasPrefix(bpIter->_name))) { _console->debugPrintf("Break on %s (in [%04x:%04x])\n", methodName.c_str(), PRINT_REG(send_obj)); _debugState.debugging = true; _debugState.breakpointWasHit = true; @@ -704,7 +704,7 @@ bool SciEngine::checkExportBreakpoint(uint16 script, uint16 pubfunct) { Common::List<Breakpoint>::const_iterator bp; for (bp = _debugState._breakpoints.begin(); bp != _debugState._breakpoints.end(); ++bp) { - if (bp->type == BREAK_EXPORT && bp->address == bpaddress) { + if (bp->_type == BREAK_EXPORT && bp->_address == bpaddress) { _console->debugPrintf("Break on script %d, export %d\n", script, pubfunct); _debugState.debugging = true; _debugState.breakpointWasHit = true; @@ -720,7 +720,7 @@ bool SciEngine::checkAddressBreakpoint(const reg32_t &address) { if (_debugState._activeBreakpointTypes & BREAK_ADDRESS) { Common::List<Breakpoint>::const_iterator bp; for (bp = _debugState._breakpoints.begin(); bp != _debugState._breakpoints.end(); ++bp) { - if (bp->type == BREAK_ADDRESS && bp->regAddress == address) { + if (bp->_type == BREAK_ADDRESS && bp->_regAddress == address) { _console->debugPrintf("Break at %04x:%04x\n", PRINT_REG(address)); _debugState.debugging = true; _debugState.breakpointWasHit = true; |