Skip to content

Commit

Permalink
DolphinQt: Allow toggling most JIT debug settings at any time
Browse files Browse the repository at this point in the history
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...)
  • Loading branch information
JosJuice committed Apr 10, 2022
1 parent b721a16 commit 7bb933a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Source/Core/DolphinQt/MenuBar.cpp
Expand Up @@ -137,20 +137,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);

Expand Down

0 comments on commit 7bb933a

Please sign in to comment.