summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MenuBar.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-03-28 20:26:52 +0200
committerAdmiral H. Curtiss <pikachu025@gmail.com>2023-04-09 21:48:37 +0200
commit23843583bf2fcc349bef18b37e1a8539be3db17d (patch)
tree30b0173c93d94adcba797f73ab308ada90327612 /Source/Core/DolphinQt/MenuBar.cpp
parentebbbdc49ab3412693c40add3a56183926e0559b7 (diff)
PowerPC: Refactor to class, move to System.
Diffstat (limited to 'Source/Core/DolphinQt/MenuBar.cpp')
-rw-r--r--Source/Core/DolphinQt/MenuBar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/MenuBar.cpp b/Source/Core/DolphinQt/MenuBar.cpp
index 4d764f2fac..07391cb65b 100644
--- a/Source/Core/DolphinQt/MenuBar.cpp
+++ b/Source/Core/DolphinQt/MenuBar.cpp
@@ -800,7 +800,8 @@ void MenuBar::AddJITMenu()
PowerPC::CPUCore::Interpreter);
connect(m_jit_interpreter_core, &QAction::toggled, [](bool enabled) {
- PowerPC::SetMode(enabled ? PowerPC::CoreMode::Interpreter : PowerPC::CoreMode::JIT);
+ Core::System::GetInstance().GetPowerPC().SetMode(enabled ? PowerPC::CoreMode::Interpreter :
+ PowerPC::CoreMode::JIT);
});
m_jit->addSeparator();