diff options
Diffstat (limited to 'Source/Core/DolphinQt/MenuBar.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MenuBar.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/MenuBar.cpp b/Source/Core/DolphinQt/MenuBar.cpp index 9b400e7c2a..a31465aac1 100644 --- a/Source/Core/DolphinQt/MenuBar.cpp +++ b/Source/Core/DolphinQt/MenuBar.cpp @@ -153,6 +153,7 @@ void MenuBar::OnEmulationStateChanged(Core::State state) m_jit_block_linking->setEnabled(!running); m_jit_disable_cache->setEnabled(!running); m_jit_disable_fastmem_arena->setEnabled(!running); + m_jit_disable_large_entry_points_map->setEnabled(!running); m_jit_clear_cache->setEnabled(running); m_jit_log_coverage->setEnabled(!running); m_jit_search_instruction->setEnabled(running); @@ -867,6 +868,14 @@ void MenuBar::AddJITMenu() connect(m_jit_disable_fastmem_arena, &QAction::toggled, [](bool enabled) { Config::SetBaseOrCurrent(Config::MAIN_FASTMEM_ARENA, !enabled); }); + m_jit_disable_large_entry_points_map = m_jit->addAction(tr("Disable Large Entry Points Map")); + m_jit_disable_large_entry_points_map->setCheckable(true); + m_jit_disable_large_entry_points_map->setChecked( + !Config::Get(Config::MAIN_LARGE_ENTRY_POINTS_MAP)); + connect(m_jit_disable_large_entry_points_map, &QAction::toggled, [](bool enabled) { + Config::SetBaseOrCurrent(Config::MAIN_LARGE_ENTRY_POINTS_MAP, !enabled); + }); + m_jit_clear_cache = m_jit->addAction(tr("Clear Cache"), this, &MenuBar::ClearCache); m_jit->addSeparator(); |
