Ticket #5614: 0001-SCI-change-debug-console-shortcut-to-CTRL-SHIFT-D.patch

File 0001-SCI-change-debug-console-shortcut-to-CTRL-SHIFT-D.patch, 864 bytes (added by tsoliman, 10 years ago)
  • engines/sci/event.cpp

    From c5f72ab434c89299991e4fb8145abc0b07cb85f3 Mon Sep 17 00:00:00 2001
    From: Tarek Soliman <tarek@bashasoliman.com>
    Date: Sun, 27 Mar 2011 21:56:02 -0500
    Subject: [PATCH] SCI: change debug console shortcut to CTRL-SHIFT-D
    
    ---
     engines/sci/event.cpp |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
    index 5024491..6b5ea64 100644
    a b SciEvent EventManager::getScummVMEvent() {  
    185185                return noEvent;
    186186
    187187        // Check for Control-D (debug console)
    188         if (ev.kbd.hasFlags(Common::KBD_CTRL) && ev.kbd.keycode == Common::KEYCODE_d) {
     188        if (ev.kbd.hasFlags(Common::KBD_CTRL | Common::KBD_SHIFT) && ev.kbd.keycode == Common::KEYCODE_d) {
    189189                // Open debug console
    190190                Console *con = g_sci->getSciDebugger();
    191191                con->attach();