From bd6b90359c654f4c75964755e476a8bfd90114ba Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Wed, 30 Aug 2017 08:09:41 +0200 Subject: Remove DSTACK support (#6346) Debugstacks is not useful, we don't really use it, the DebugStack is not pertinent, gdb and lldb are better if we really want to debug. --- src/game.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 8a2ca00a2..8141710ff 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1099,8 +1099,6 @@ void KeyCache::populate() key[KeyType::QUICKTUNE_INC] = getKeySetting("keymap_quicktune_inc"); key[KeyType::QUICKTUNE_DEC] = getKeySetting("keymap_quicktune_dec"); - key[KeyType::DEBUG_STACKS] = getKeySetting("keymap_print_debug_stacks"); - for (int i = 0; i < 23; i++) { std::string slot_key_name = "keymap_slot" + std::to_string(i + 1); key[KeyType::SLOT_1 + i] = getKeySetting(slot_key_name.c_str()); @@ -2609,14 +2607,6 @@ void Game::processKeyInput() quicktune->inc(); } else if (wasKeyDown(KeyType::QUICKTUNE_DEC)) { quicktune->dec(); - } else if (wasKeyDown(KeyType::DEBUG_STACKS)) { - // Print debug stacks - dstream << "-----------------------------------------" - << std::endl; - dstream << "Printing debug stacks:" << std::endl; - dstream << "-----------------------------------------" - << std::endl; - debug_stacks_print(); } if (!isKeyDown(KeyType::JUMP) && runData.reset_jump_timer) { -- cgit v1.2.3