aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/pegasus/menu.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/pegasus/menu.cpp b/engines/pegasus/menu.cpp
index 98cf59af8f..dd32e36c0e 100644
--- a/engines/pegasus/menu.cpp
+++ b/engines/pegasus/menu.cpp
@@ -23,6 +23,7 @@
#include "common/events.h"
#include "common/textconsole.h"
+#include "pegasus/console.h"
#include "pegasus/pegasus.h"
namespace Pegasus {
@@ -91,6 +92,12 @@ void PegasusEngine::runMainMenu() {
drawMenu(buttonSelected);
}
break;
+ case Common::KEYCODE_d:
+ if (event.kbd.flags & Common::KBD_CTRL) {
+ _console->attach();
+ _console->onFrame();
+ }
+ break;
default:
break;
}