Change the "Retain changed textures" option into a compat.ini option.

This option benefits so few games and can hurt others, so that it's
better that we specifically enable it for known cases like Popolocrois.
This commit is contained in:
Henrik Rydgård committed 2022-11-06 17:28:50 +01:00
1 parent bf17219057
commit 95cb358fbf
8 files changed
+16 -20

No files matched your search

-7
View File
@@ -545,13 +545,6 @@ void GameSettingsScreen::CreateViews() {
return UI::EVENT_CONTINUE;
});
CheckBox *texSecondary_ = graphicsSettings->Add(new CheckBox(&g_Config.bTextureSecondaryCache, gr->T("Retain changed textures", "Retain changed textures (speedup, mem hog)")));
texSecondary_->OnClick.Add([=](EventParams &e) {
settingInfo_->Show(gr->T("RetainChangedTextures Tip", "Makes many games slower, but some games a lot faster"), e.v);
return UI::EVENT_CONTINUE;
});
texSecondary_->SetDisabledPtr(&g_Config.bSoftwareRendering);
// Seems solid, so we hide the setting.
/*CheckBox *vtxJit = graphicsSettings->Add(new CheckBox(&g_Config.bVertexDecoderJit, gr->T("Vertex Decoder JIT")));