aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorMax Horn2010-12-07 18:54:21 +0000
committerMax Horn2010-12-07 18:54:21 +0000
commit6edc86a19b6060c9f0f257b05ff711b021910de4 (patch)
treea22172aa4624fb14c6e0fda4c21c09ec4a1e93b3 /engines/kyra
parentce0f0bd0560d713aeddb45c16506cc9d2387c136 (diff)
downloadscummvm-rg350-6edc86a19b6060c9f0f257b05ff711b021910de4.tar.gz
scummvm-rg350-6edc86a19b6060c9f0f257b05ff711b021910de4.tar.bz2
scummvm-rg350-6edc86a19b6060c9f0f257b05ff711b021910de4.zip
DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engine
svn-id: r54815
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/debugger.cpp10
-rw-r--r--engines/kyra/debugger.h3
2 files changed, 0 insertions, 13 deletions
diff --git a/engines/kyra/debugger.cpp b/engines/kyra/debugger.cpp
index d58494303c..301271ad3c 100644
--- a/engines/kyra/debugger.cpp
+++ b/engines/kyra/debugger.cpp
@@ -53,16 +53,6 @@ Debugger::Debugger(KyraEngine_v1 *vm)
DCmd_Register("settimercountdown", WRAP_METHOD(Debugger, cmd_setTimerCountdown));
}
-void Debugger::preEnter() {
- _vm->pauseEngine(true);
- ::GUI::Debugger::preEnter();
-}
-
-void Debugger::postEnter() {
- ::GUI::Debugger::postEnter();
- _vm->pauseEngine(false);
-}
-
bool Debugger::cmd_setScreenDebug(int argc, const char **argv) {
if (argc > 1) {
if (scumm_stricmp(argv[1], "enable") == 0)
diff --git a/engines/kyra/debugger.h b/engines/kyra/debugger.h
index dfc2a26aa2..de45bd0aaa 100644
--- a/engines/kyra/debugger.h
+++ b/engines/kyra/debugger.h
@@ -41,9 +41,6 @@ public:
virtual ~Debugger() {} // we need this for __SYMBIAN32__ archaic gcc/UIQ
protected:
- virtual void preEnter();
- virtual void postEnter();
-
KyraEngine_v1 *_vm;
bool cmd_setScreenDebug(int argc, const char **argv);