diff options
| author | Filippos Karapetis | 2010-05-18 09:18:27 +0000 |
|---|---|---|
| committer | Filippos Karapetis | 2010-05-18 09:18:27 +0000 |
| commit | 8b7c29a4adfb3c19583a38d85d8c248072fec40b (patch) | |
| tree | 4305f708cb60f63ca05d44a712307e19a070b8ea /engines/sci/engine/scriptdebug.cpp | |
| parent | 3dda73d9a2b65da0dad2d184c52f5ebbee682b59 (diff) | |
| download | scummvm-rg350-8b7c29a4adfb3c19583a38d85d8c248072fec40b.tar.gz scummvm-rg350-8b7c29a4adfb3c19583a38d85d8c248072fec40b.tar.bz2 scummvm-rg350-8b7c29a4adfb3c19583a38d85d8c248072fec40b.zip | |
Moved breakpointWasHit inside the DebugState struct, thus resolving a FIXME
svn-id: r49071
Diffstat (limited to 'engines/sci/engine/scriptdebug.cpp')
| -rw-r--r-- | engines/sci/engine/scriptdebug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp index da8e74e2d1..583a437ab4 100644 --- a/engines/sci/engine/scriptdebug.cpp +++ b/engines/sci/engine/scriptdebug.cpp @@ -309,7 +309,7 @@ reg_t disassemble(EngineState *s, reg_t pos, int print_bw_tag, int print_bytecod } -void script_debug(EngineState *s, bool bp) { +void script_debug(EngineState *s) { // Do we support a separate console? #if 0 @@ -327,7 +327,7 @@ void script_debug(EngineState *s, bool bp) { return; #endif - if (g_debugState.seeking && !bp) { // Are we looking for something special? + if (g_debugState.seeking && !g_debugState.breakpointWasHit) { // Are we looking for something special? SegmentObj *mobj = GET_SEGMENT(*s->_segMan, scriptState.xs->addr.pc.segment, SEG_TYPE_SCRIPT); if (mobj) { |
