mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06: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