aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
diff options
context:
space:
mode:
authorFilippos Karapetis2009-06-02 19:03:43 +0000
committerFilippos Karapetis2009-06-02 19:03:43 +0000
commit780926991e369cefd2409a1149f3bcee4aa9a5c9 (patch)
treedd78873ec95c17a6a99f26b18ed2cf75b3cea5d2 /engines/sci/gfx
parent98f64cfa2f76a5faa1cdea5c47e175aea2e75940 (diff)
downloadscummvm-rg350-780926991e369cefd2409a1149f3bcee4aa9a5c9.tar.gz
scummvm-rg350-780926991e369cefd2409a1149f3bcee4aa9a5c9.tar.bz2
scummvm-rg350-780926991e369cefd2409a1149f3bcee4aa9a5c9.zip
Moved some more console commands to ScummVM's debug console
svn-id: r41126
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r--engines/sci/gfx/operations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp
index fbfeda3649..14be83b9aa 100644
--- a/engines/sci/gfx/operations.cpp
+++ b/engines/sci/gfx/operations.cpp
@@ -1455,8 +1455,8 @@ static sci_event_t scummvm_get_event(gfx_driver_t *drv) {
input.character = ev.kbd.ascii;
// Debug console
- if (ev.kbd.flags == Common::KBD_CTRL && ev.kbd.keycode == Common::KEYCODE_d) {
-
+ if (ev.kbd.flags == Common::KBD_CTRL && ev.kbd.keycode == Common::KEYCODE_d) {
+ // Open debug console
((Sci::SciEngine*)g_engine)->_console->attach();
((Sci::SciEngine*)g_engine)->_console->onFrame();