diff options
Diffstat (limited to 'sky/sky.cpp')
-rw-r--r-- | sky/sky.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp index 6f7e6eb914..5c1199dca6 100644 --- a/sky/sky.cpp +++ b/sky/sky.cpp @@ -176,7 +176,7 @@ void SkyEngine::doCheat(uint8 num) { void SkyEngine::handleKey(void) { - if (_key_pressed == '`') { + if (_key_pressed == '`' || _key_pressed == '~' || _key_pressed == '#') { _debugger->attach(); } @@ -459,6 +459,9 @@ void SkyEngine::delay(uint amount) { _fastMode ^= 2; break; } + if (event.kbd.keycode == 'd') { + _debugger->attach(); + } } // Make sure backspace works right (this fixes a small issue on OS X) |