Fix cpu core change during runtime.
Some change must've lost this - the core wasn't updating without a game restart. Now it does.
This commit is contained in:
parent
e4b0f295b2
commit
0855720e04
1 changed files with 1 additions and 0 deletions
|
@ -1123,6 +1123,7 @@ 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);
|
||||
if (!canUseJit) {
|
||||
core->HideChoice(1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue