diff options
author | Max Horn | 2009-09-17 13:21:19 +0000 |
---|---|---|
committer | Max Horn | 2009-09-17 13:21:19 +0000 |
commit | b2c386ed000bce9a34a3d392b57a5d9abe8dfa7e (patch) | |
tree | 758e42e9b29478e0ddd79d2031788956643edf1c /engines/sci/sci.cpp | |
parent | d861f5c854fb47e7f0a15a70738ab24f04c8036c (diff) | |
download | scummvm-rg350-b2c386ed000bce9a34a3d392b57a5d9abe8dfa7e.tar.gz scummvm-rg350-b2c386ed000bce9a34a3d392b57a5d9abe8dfa7e.tar.bz2 scummvm-rg350-b2c386ed000bce9a34a3d392b57a5d9abe8dfa7e.zip |
SCI: Move parts of struct ScriptState into a new struct DebugState
svn-id: r44151
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 fc5371afe5..524e7920f0 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -208,12 +208,12 @@ Common::Error SciEngine::run() { GUI::Debugger *SciEngine::getDebugger() { if (_gamestate) { ExecStack *xs = &(_gamestate->_executionStack.back()); - xs->addr.pc.offset = scriptState.old_pc_offset; - xs->sp = scriptState.old_sp; + xs->addr.pc.offset = g_debugState.old_pc_offset; + xs->sp = g_debugState.old_sp; } - scriptState.runningStep = 0; // Stop multiple execution - scriptState.seeking = kDebugSeekNothing; // Stop special seeks + g_debugState.runningStep = 0; // Stop multiple execution + g_debugState.seeking = kDebugSeekNothing; // Stop special seeks return _console; } |