diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2026-04-19 11:21:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-19 11:21:26 -0500 |
| commit | 914f5c56217a8a8bb5f28cf3bfa16346a91fa037 (patch) | |
| tree | 33b858ee90907f3a79693e9463a1b435c17dcbf1 /Source/Core | |
| parent | 9271631cab6c495b46e858f7d644122941ba3d4f (diff) | |
| parent | 4aaecbb148c0df175b20ae9bddaafb33f1ae81d0 (diff) | |
Merge pull request #14547 from JosJuice/page-table-fastmem-setting-gui
Add page table fastmem to Debug/JIT settings
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt/MenuBar.cpp | 7 | ||||
| -rw-r--r-- | Source/Core/DolphinQt/MenuBar.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/MenuBar.cpp b/Source/Core/DolphinQt/MenuBar.cpp index 9fe037e7ef..f5d87e0b77 100644 --- a/Source/Core/DolphinQt/MenuBar.cpp +++ b/Source/Core/DolphinQt/MenuBar.cpp @@ -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)); diff --git a/Source/Core/DolphinQt/MenuBar.h b/Source/Core/DolphinQt/MenuBar.h index 9533459eed..a381353b0c 100644 --- a/Source/Core/DolphinQt/MenuBar.h +++ b/Source/Core/DolphinQt/MenuBar.h @@ -288,6 +288,7 @@ private: QAction* m_jit_block_linking; QAction* m_jit_disable_cache; QAction* m_jit_disable_fastmem; + QAction* m_jit_disable_page_table_fastmem; QAction* m_jit_disable_fastmem_arena; QAction* m_jit_disable_large_entry_points_map; QAction* m_jit_clear_cache; |
