diff options
author | Johannes Schickel | 2010-11-07 21:21:55 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-11-07 21:21:55 +0000 |
commit | efc280892628032470911a8bb6df1d41cd9f1de8 (patch) | |
tree | 9e2cfa896eb098496c614a0be8e0d3678d3ba64b /engines/toon/toon.cpp | |
parent | 4acad22d6e28d647c3233c183e3104b9d02a86e5 (diff) | |
download | scummvm-rg350-efc280892628032470911a8bb6df1d41cd9f1de8.tar.gz scummvm-rg350-efc280892628032470911a8bb6df1d41cd9f1de8.tar.bz2 scummvm-rg350-efc280892628032470911a8bb6df1d41cd9f1de8.zip |
TOON: Fix debug console by implementing getDebugger.
svn-id: r54128
Diffstat (limited to 'engines/toon/toon.cpp')
-rw-r--r-- | engines/toon/toon.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp index 0ce993e6de..3738a5fa48 100644 --- a/engines/toon/toon.cpp +++ b/engines/toon/toon.cpp @@ -239,11 +239,11 @@ void ToonEngine::parseInput() { dialog.runModal(); } } - // FIXME - Triggering Debug Console currently causes a segfault. - //if (event.kbd.keycode == Common::KEYCODE_d) { - // this->getDebugger()->attach(); - // this->getDebugger()->onFrame(); - //} + + if (event.kbd.keycode == Common::KEYCODE_d) { + this->getDebugger()->attach(); + this->getDebugger()->onFrame(); + } } break; // Strangerke - Commented (not used) |