mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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...)
This commit is contained in:
@ -139,20 +139,10 @@ void MenuBar::OnEmulationStateChanged(Core::State state)
|
|||||||
m_jit_interpreter_core->setEnabled(running);
|
m_jit_interpreter_core->setEnabled(running);
|
||||||
m_jit_block_linking->setEnabled(!running);
|
m_jit_block_linking->setEnabled(!running);
|
||||||
m_jit_disable_cache->setEnabled(!running);
|
m_jit_disable_cache->setEnabled(!running);
|
||||||
m_jit_disable_fastmem->setEnabled(!running);
|
|
||||||
m_jit_clear_cache->setEnabled(running);
|
m_jit_clear_cache->setEnabled(running);
|
||||||
m_jit_log_coverage->setEnabled(!running);
|
m_jit_log_coverage->setEnabled(!running);
|
||||||
m_jit_search_instruction->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
|
// Symbols
|
||||||
m_symbols->setEnabled(running);
|
m_symbols->setEnabled(running);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user