diff options
Diffstat (limited to 'engines/cge')
-rw-r--r-- | engines/cge/events.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/cge/events.cpp b/engines/cge/events.cpp index 73bef63129..8ace047bda 100644 --- a/engines/cge/events.cpp +++ b/engines/cge/events.cpp @@ -148,6 +148,11 @@ bool Keyboard::getKey(Common::Event &event, int &cgeCode) { _vm->loadGameState(savegameId); } return false; + } else if ((keycode == Common::KEYCODE_d) && (event.kbd.flags & Common::KBD_CTRL)) { + // Start the debugger + _vm->_console->attach(); + _vm->_console->onFrame(); + return false; } // Scan through the ScummVM mapping list |