diff options
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/debug.cpp | 2 | ||||
-rw-r--r-- | engines/parallaction/debug.h | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/engines/parallaction/debug.cpp b/engines/parallaction/debug.cpp index b5eb82b456..f9e80fa288 100644 --- a/engines/parallaction/debug.cpp +++ b/engines/parallaction/debug.cpp @@ -53,10 +53,12 @@ Debugger::Debugger(Parallaction *vm) void Debugger::preEnter() { _mouseState = _vm->_input->getMouseState(); + _vm->pauseEngine(true); } void Debugger::postEnter() { + _vm->pauseEngine(false); _vm->_input->setMouseState(_mouseState); _vm->_input->setArrowCursor(); // unselects the active item, if any } diff --git a/engines/parallaction/debug.h b/engines/parallaction/debug.h index 5267206d04..2f807b0e88 100644 --- a/engines/parallaction/debug.h +++ b/engines/parallaction/debug.h @@ -14,13 +14,14 @@ public: Debugger(Parallaction *vm); virtual ~Debugger() {} // we need this for __SYMBIAN32__ archaic gcc/UIQ -protected: - Parallaction *_vm; - MouseTriState _mouseState; - +private: virtual void preEnter(); virtual void postEnter(); +private: + Parallaction *_vm; + MouseTriState _mouseState; + bool Cmd_DebugLevel(int argc, const char **argv); bool Cmd_Location(int argc, const char **argv); bool Cmd_Give(int argc, const char **argv); |