mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Add "large entry points map" setting
To aid in debugging, this makes it possible to disable the recently added 32/64 GiB region which hasn't had a proper name so far.
This commit is contained in:
@ -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();
|
||||
|
@ -265,6 +265,7 @@ private:
|
||||
QAction* m_jit_disable_cache;
|
||||
QAction* m_jit_disable_fastmem;
|
||||
QAction* m_jit_disable_fastmem_arena;
|
||||
QAction* m_jit_disable_large_entry_points_map;
|
||||
QAction* m_jit_clear_cache;
|
||||
QAction* m_jit_log_coverage;
|
||||
QAction* m_jit_search_instruction;
|
||||
|
Reference in New Issue
Block a user