Merge pull request #14547 from JosJuice/page-table-fastmem-setting-gui

Add page table fastmem to Debug/JIT settings
This commit is contained in:
Jordan Woyak
2026-04-19 11:21:26 -05:00
committed by GitHub
5 changed files with 18 additions and 0 deletions

View File

@@ -926,6 +926,13 @@ void MenuBar::AddJITMenu()
connect(m_jit_disable_fastmem, &QAction::toggled,
[](bool enabled) { Config::SetBaseOrCurrent(Config::MAIN_FASTMEM, !enabled); });
m_jit_disable_page_table_fastmem = m_jit->addAction(tr("Disable Page Table Fastmem"));
m_jit_disable_page_table_fastmem->setCheckable(true);
m_jit_disable_page_table_fastmem->setChecked(!Config::Get(Config::MAIN_PAGE_TABLE_FASTMEM));
connect(m_jit_disable_page_table_fastmem, &QAction::toggled, [](bool enabled) {
Config::SetBaseOrCurrent(Config::MAIN_PAGE_TABLE_FASTMEM, !enabled);
});
m_jit_disable_fastmem_arena = m_jit->addAction(tr("Disable Fastmem Arena"));
m_jit_disable_fastmem_arena->setCheckable(true);
m_jit_disable_fastmem_arena->setChecked(!Config::Get(Config::MAIN_FASTMEM_ARENA));