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:
Unknown W. Brackets 2016-08-20 12:31:02 -07:00
parent e4b0f295b2
commit 0855720e04

View file

@ -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);
}