mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Don't allow switching between JIT/interpreter when a game is running.
It doesn't work, anyway.
This commit is contained in:
parent
63c00878d0
commit
847895320d
1 changed files with 6 additions and 2 deletions
|
@ -572,10 +572,14 @@ void DeveloperToolsScreen::CreateViews() {
|
|||
if (!iosCanUseJit) {
|
||||
list->Add(new TextView(s->T("DynarecisJailed", "Dynarec (JIT) - (Not jailbroken - JIT not available)")));
|
||||
} else {
|
||||
list->Add(new CheckBox(&g_Config.bJit, s->T("Dynarec", "Dynarec (JIT)")));
|
||||
auto jitCheckbox = new CheckBox(&g_Config.bJit, s->T("Dynarec", "Dynarec (JIT)"));
|
||||
jitCheckbox->SetEnabled(!PSP_IsInited());
|
||||
list->Add(jitCheckbox);
|
||||
}
|
||||
#else
|
||||
list->Add(new CheckBox(&g_Config.bJit, s->T("Dynarec", "Dynarec (JIT)")));
|
||||
auto jitCheckbox = new CheckBox(&g_Config.bJit, s->T("Dynarec", "Dynarec (JIT)"));
|
||||
jitCheckbox->SetEnabled(!PSP_IsInited());
|
||||
list->Add(jitCheckbox);
|
||||
#endif
|
||||
|
||||
list->Add(new Choice(de->T("System Information")))->OnClick.Handle(this, &DeveloperToolsScreen::OnSysInfo);
|
||||
|
|
Loading…
Add table
Reference in a new issue