From 07d70db46b8eb1029eb6543f25900450987303c1 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 10 Apr 2022 11:11:25 +0200 Subject: [PATCH] DolphinQt: Allow toggling most JIT debug settings at any time There's no reason not to allow this now that these settings are cleanly integrated into the new config system. (Actually, maybe we could even have done this before the previous commit...) --- Source/Core/DolphinQt/MenuBar.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Source/Core/DolphinQt/MenuBar.cpp b/Source/Core/DolphinQt/MenuBar.cpp index 7fd00a8edc..ad8428bee3 100644 --- a/Source/Core/DolphinQt/MenuBar.cpp +++ b/Source/Core/DolphinQt/MenuBar.cpp @@ -139,20 +139,10 @@ void MenuBar::OnEmulationStateChanged(Core::State state) m_jit_interpreter_core->setEnabled(running); m_jit_block_linking->setEnabled(!running); m_jit_disable_cache->setEnabled(!running); - m_jit_disable_fastmem->setEnabled(!running); m_jit_clear_cache->setEnabled(running); m_jit_log_coverage->setEnabled(!running); m_jit_search_instruction->setEnabled(running); - for (QAction* action : - {m_jit_off, m_jit_loadstore_off, m_jit_loadstore_lbzx_off, m_jit_loadstore_lxz_off, - m_jit_loadstore_lwz_off, m_jit_loadstore_floating_off, m_jit_loadstore_paired_off, - m_jit_floatingpoint_off, m_jit_integer_off, m_jit_paired_off, m_jit_systemregisters_off, - m_jit_branch_off, m_jit_register_cache_off}) - { - action->setEnabled(running && !playing); - } - // Symbols m_symbols->setEnabled(running);