mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fix crash in debug mode entering developer tools
This commit is contained in:
1 parent
7bb80c4511
commit
527a35f155
1 file changed
+2
-2
@@ -134,8 +134,8 @@ void DeveloperToolsScreen::CreateGeneralTab(UI::LinearLayout *list) {
|
||||
|
||||
static const char *cpuCores[] = { "Interpreter", "Dynarec/JIT (recommended)", "IR Interpreter", "JIT using IR" };
|
||||
PopupMultiChoice *core = list->Add(new PopupMultiChoice(&g_Config.iCpuCore, sy->T("CPU Core"), cpuCores, 0, ARRAY_SIZE(cpuCores), I18NCat::SYSTEM, screenManager()));
|
||||
core->OnChoice.Handle(this, &DeveloperToolsScreen::OnJitAffectingSetting);
|
||||
core->OnChoice.Add([](UI::EventParams &) {
|
||||
core->OnChoice.Add([=](UI::EventParams &e) {
|
||||
OnJitAffectingSetting(e);
|
||||
g_Config.NotifyUpdatedCpuCore();
|
||||
});
|
||||
if (!canUseJit) {
|
||||
|
||||
Reference in new issue
Block a user