mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Show the software rendering option on all platforms
It's improved greatly in performance thanks to Unknown's hard work, and is becoming a lot more usable. It's not JIT-optimized on ARM yet, but it's fast enough for some 2D games. See #12543
This commit is contained in:
parent
6bcc6076a9
commit
6fd082f141
1 changed files with 6 additions and 16 deletions
|
@ -311,22 +311,12 @@ void GameSettingsScreen::CreateViews() {
|
|||
});
|
||||
blockTransfer->SetDisabledPtr(&g_Config.bSoftwareRendering);
|
||||
|
||||
bool showSoftGPU = true;
|
||||
#ifdef MOBILE_DEVICE
|
||||
// On Android, only show the software rendering setting if it's already enabled.
|
||||
// Can still be turned on through INI file editing.
|
||||
showSoftGPU = g_Config.bSoftwareRendering;
|
||||
#endif
|
||||
if (showSoftGPU) {
|
||||
CheckBox *softwareGPU = graphicsSettings->Add(new CheckBox(&g_Config.bSoftwareRendering, gr->T("Software Rendering", "Software Rendering (slow)")));
|
||||
softwareGPU->OnClick.Add([=](EventParams &e) {
|
||||
if (g_Config.bSoftwareRendering)
|
||||
settingInfo_->Show(gr->T("SoftGPU Tip", "Currently VERY slow"), e.v);
|
||||
return UI::EVENT_CONTINUE;
|
||||
});
|
||||
softwareGPU->OnClick.Handle(this, &GameSettingsScreen::OnSoftwareRendering);
|
||||
softwareGPU->SetEnabled(!PSP_IsInited());
|
||||
}
|
||||
CheckBox *softwareGPU = graphicsSettings->Add(new CheckBox(&g_Config.bSoftwareRendering, gr->T("Software Rendering", "Software Rendering (slow)")));
|
||||
softwareGPU->OnClick.Add([=](EventParams &e) {
|
||||
return UI::EVENT_CONTINUE;
|
||||
});
|
||||
softwareGPU->OnClick.Handle(this, &GameSettingsScreen::OnSoftwareRendering);
|
||||
softwareGPU->SetEnabled(!PSP_IsInited());
|
||||
|
||||
graphicsSettings->Add(new ItemHeader(gr->T("Frame Rate Control")));
|
||||
static const char *frameSkip[] = {"Off", "1", "2", "3", "4", "5", "6", "7", "8"};
|
||||
|
|
Loading…
Add table
Reference in a new issue