summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-04-03 13:54:36 +0200
committerJosJuice <josjuice@gmail.com>2026-04-18 08:42:34 +0200
commit97a9c46a9de9869d903b042f48a0337e4552fbc2 (patch)
treefd214526f015e73f393d248338595e3953d97e56 /Source/Core
parent42175d4e75de1e31c44c734862da698703c92270 (diff)
DolphinQt: Add page table fastmem to JIT menu
This can be useful for experimenting with how a game behaves with and without page table fastmem. As with everything in the JIT menu, this is only available if Dolphin's debugger is enabled. I didn't add this in 989a95a when I added the setting itself because we were under a string freeze for Dolphin 2603a at the time.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/MenuBar.cpp7
-rw-r--r--Source/Core/DolphinQt/MenuBar.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/MenuBar.cpp b/Source/Core/DolphinQt/MenuBar.cpp
index 5015eb5fee..b89ce4041a 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 2cd56f4e54..8b84d10992 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;