mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-21 18:05:20 -05:00
PowerPC: Refactor to class, move to System.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user