diff options
author | Max Horn | 2010-07-12 23:20:33 +0000 |
---|---|---|
committer | Max Horn | 2010-07-12 23:20:33 +0000 |
commit | 1d3a0f6decd54b017d2ca55a95048de4afdbd868 (patch) | |
tree | bc007a606364ea7565107201b72e0e09ebb4f655 /engines/sci/sci.cpp | |
parent | dcd520ce310a593e7dbc5ecac60c5f3f3e8363a6 (diff) | |
download | scummvm-rg350-1d3a0f6decd54b017d2ca55a95048de4afdbd868.tar.gz scummvm-rg350-1d3a0f6decd54b017d2ca55a95048de4afdbd868.tar.bz2 scummvm-rg350-1d3a0f6decd54b017d2ca55a95048de4afdbd868.zip |
SCI: Turn global object g_debugState into SciEngine member var
svn-id: r50836
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r-- | engines/sci/sci.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index ec8f697123..1ebc6a2ba3 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -448,12 +448,12 @@ void SciEngine::exitGame() { GUI::Debugger *SciEngine::getDebugger() { if (_gamestate) { ExecStack *xs = &(_gamestate->_executionStack.back()); - xs->addr.pc.offset = g_debugState.old_pc_offset; - xs->sp = g_debugState.old_sp; + xs->addr.pc.offset = _debugState.old_pc_offset; + xs->sp = _debugState.old_sp; } - g_debugState.runningStep = 0; // Stop multiple execution - g_debugState.seeking = kDebugSeekNothing; // Stop special seeks + _debugState.runningStep = 0; // Stop multiple execution + _debugState.seeking = kDebugSeekNothing; // Stop special seeks return _console; } |