mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 12:18:35 +01:00
UI: Forget jit override on user selection.
This commit is contained in:
1 parent
891cc49beb
commit
f199a0fee3
3 files changed
+13
No files matched your search
@@ -1774,6 +1774,10 @@ void DeveloperToolsScreen::CreateViews() {
|
||||
static const char *cpuCores[] = {"Interpreter", "Dynarec (JIT)", "IR Interpreter"};
|
||||
PopupMultiChoice *core = list->Add(new PopupMultiChoice(&g_Config.iCpuCore, gr->T("CPU Core"), cpuCores, 0, ARRAY_SIZE(cpuCores), sy->GetName(), screenManager()));
|
||||
core->OnChoice.Handle(this, &DeveloperToolsScreen::OnJitAffectingSetting);
|
||||
core->OnChoice.Add([](UI::EventParams &) {
|
||||
g_Config.NotifyUpdatedCpuCore();
|
||||
return UI::EVENT_DONE;
|
||||
});
|
||||
if (!canUseJit) {
|
||||
core->HideChoice(1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user