diff options
Diffstat (limited to 'engines/cine/main_loop.cpp')
-rw-r--r-- | engines/cine/main_loop.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/cine/main_loop.cpp b/engines/cine/main_loop.cpp index 3d280c20ef..644744d3ed 100644 --- a/engines/cine/main_loop.cpp +++ b/engines/cine/main_loop.cpp @@ -161,6 +161,12 @@ static void processEvent(Common::Event &event) { case Common::KEYCODE_KP3: moveUsingKeyboard(+1, -1); // Down & Right break; + case Common::KEYCODE_d: + if (event.kbd.hasFlags(Common::KBD_CTRL)) { + g_cine->getDebugger()->attach(); + g_cine->getDebugger()->onFrame(); + } + // No Break to allow fallthrough to process 'd' without CTRL default: lastKeyStroke = event.kbd.keycode; break; |