aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2011-11-27 10:05:55 +0100
committerStrangerke2011-11-27 10:05:55 +0100
commita9fb11b7042b2a20c0b154aa4d4736d3635a4ce6 (patch)
treec0e77695b5ae4ab88bd9d3999e6c15e18bfd6745 /engines
parent50ce261dda5fd51f5313cbe0140d170a66ed35af (diff)
downloadscummvm-rg350-a9fb11b7042b2a20c0b154aa4d4736d3635a4ce6.tar.gz
scummvm-rg350-a9fb11b7042b2a20c0b154aa4d4736d3635a4ce6.tar.bz2
scummvm-rg350-a9fb11b7042b2a20c0b154aa4d4736d3635a4ce6.zip
CGE: Fix Console attach code
Diffstat (limited to 'engines')
-rw-r--r--engines/cge/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge/events.cpp b/engines/cge/events.cpp
index 8ace047bda..5dbae80438 100644
--- a/engines/cge/events.cpp
+++ b/engines/cge/events.cpp
@@ -150,8 +150,8 @@ bool Keyboard::getKey(Common::Event &event, int &cgeCode) {
return false;
} else if ((keycode == Common::KEYCODE_d) && (event.kbd.flags & Common::KBD_CTRL)) {
// Start the debugger
- _vm->_console->attach();
- _vm->_console->onFrame();
+ _vm->getDebugger()->attach();
+ _vm->getDebugger()->onFrame();
return false;
}