mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Make the IRJit core selectable in developer tools
This commit is contained in:
1 parent
09969c0156
commit
ce8aae5ed1
17 files changed
+84
-45
No files matched your search
@@ -1059,8 +1059,11 @@ void DeveloperToolsScreen::CreateViews() {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (canUseJit) {
|
||||
list->Add(new CheckBox(&g_Config.bJit, sy->T("Dynarec", "Dynarec (JIT)")))->OnClick.Handle(this, &DeveloperToolsScreen::OnJitAffectingSetting);
|
||||
|
||||
static const char *cpuCores[] = { "Interpreter", "Dynarec (JIT)", "IRJit" };
|
||||
PopupMultiChoice *core = list->Add(new PopupMultiChoice(&g_Config.iCpuCore, gr->T("CPU Core"), cpuCores, 0, ARRAY_SIZE(cpuCores), sy->GetName(), screenManager()));
|
||||
if (!canUseJit) {
|
||||
core->HideChoice(1);
|
||||
}
|
||||
|
||||
list->Add(new CheckBox(&g_Config.bShowDeveloperMenu, dev->T("Show Developer Menu")));
|
||||
|
||||
Reference in new issue
Block a user