Merge pull request #8924 from unknownbrackets/runtime-core

Fix cpu core change during runtime
This commit is contained in:
Henrik Rydgård 2016-08-21 11:08:01 +02:00 committed by GitHub
commit 947680dd8e

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