F12 toggle de showFPS en mode debug

This commit is contained in:
JailDesigner committed 2026-03-22 19:59:48 +01:00
1 parent 495c23a3d2
commit 030779794e
2 files changed
+9 -4

No files matched your search

+9
View File
@@ -241,6 +241,15 @@ namespace GlobalInputs {
handleToggleVSync();
break;
#ifdef _DEBUG
case InputAction::TOGGLE_DEBUG:
Screen::get()->toggleFPS();
break;
case InputAction::SHOW_DEBUG_INFO:
break;
#endif
case InputAction::NONE:
default:
// No se presionó ninguna acción global
-4
View File
@@ -448,10 +448,6 @@ void Game::handleDebugEvents(const SDL_Event& event) {
toggleCheat(Options::cheats.jail_is_open, Locale::get()->get("game.cheat_jail_open"));
break;
case SDLK_4:
Screen::get()->toggleFPS();
break;
case SDLK_7:
Notifier::get()->show({Locale::get()->get("achievements.header"), Locale::get()->get("achievements.c11")}, Notifier::Style::CHEEVO, -1, false, "F7");
break;