From 77adfd762e5e7c0dc95086e73a9bb0985ebd3728 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 27 Dec 2019 19:49:37 +0100 Subject: SCI: Removed unneeded debug output. The bug has been confirmed fixed --- engines/sci/event.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'engines/sci') diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp index 79b7f4b9a1..2c9cc0b70d 100644 --- a/engines/sci/event.cpp +++ b/engines/sci/event.cpp @@ -321,9 +321,6 @@ SciEvent EventManager::getScummVMEvent() { input.character = ev.kbd.ascii; - if (g_sci->getLanguage() == Common::PL_POL) - debug("character: %d(%x) keycode: %d(%x)", ev.kbd.ascii, ev.kbd.ascii, ev.kbd.keycode, ev.kbd.keycode); - if (scummVMKeycode >= Common::KEYCODE_KP0 && scummVMKeycode <= Common::KEYCODE_KP9 && !(scummVMKeyFlags & Common::KBD_NUM)) { // TODO: Leaky abstractions from SDL should not be handled in game // engines! @@ -381,14 +378,11 @@ SciEvent EventManager::getScummVMEvent() { input.character = input.character - 0x410 + 0x80; } } else if (g_sci->getLanguage() == Common::PL_POL) { - debugN("%d (0x%04x)", input.character, input.character); // FIXME. Remove after completion for (int i = 0; UTF16toWin1250[i]; i++) if (UTF16toWin1250[i] == input.character) { input.character = 0x80 + i; break; } - - debug(" -> %d (0x%04x)", input.character, input.character); } } -- cgit v1.2.3