aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authormd52011-04-03 14:31:40 +0300
committermd52011-04-03 14:35:54 +0300
commit51f733b2a6e2413a7a97442fc2389209da8a72f0 (patch)
tree05a6896aa0a24ca514d2959dccde6731793efe43 /engines
parent9fb10f98e2749382df7a19d1de8c255f8d9637ae (diff)
downloadscummvm-rg350-51f733b2a6e2413a7a97442fc2389209da8a72f0.tar.gz
scummvm-rg350-51f733b2a6e2413a7a97442fc2389209da8a72f0.tar.bz2
scummvm-rg350-51f733b2a6e2413a7a97442fc2389209da8a72f0.zip
SCI: Changed debug console hotkey to Control-Shift-D instead of Control-D.
Applied from patch #3258985. The previous hotkey interfered with the hotkeys of some games (e.g. the "time of day" hotkey in QFG2, bug #3250996).
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
index 50244919c9..6b5ea64fc4 100644
--- a/engines/sci/event.cpp
+++ b/engines/sci/event.cpp
@@ -185,7 +185,7 @@ SciEvent EventManager::getScummVMEvent() {
return noEvent;
// Check for Control-D (debug console)
- if (ev.kbd.hasFlags(Common::KBD_CTRL) && ev.kbd.keycode == Common::KEYCODE_d) {
+ if (ev.kbd.hasFlags(Common::KBD_CTRL | Common::KBD_SHIFT) && ev.kbd.keycode == Common::KEYCODE_d) {
// Open debug console
Console *con = g_sci->getSciDebugger();
con->attach();