Make the vertex decoder JIT an ini-only setting, it is solid enough to hide.

This commit is contained in:
Henrik Rydgård 2013-11-29 14:20:37 +01:00
parent ba7536d5ce
commit 6258c2bb9a
2 changed files with 9 additions and 7 deletions

View file

@ -179,7 +179,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
iAnisotropyLevel = 4;
}
graphics->Get("VertexCache", &bVertexCache, true);
graphics->Get("VertexDecoderJit", &bVertexDecoderJit, true);
graphics->Get("VertexDecJit", &bVertexDecoderJit, true);
#ifdef _WIN32
graphics->Get("FullScreen", &bFullScreen, false);
@ -445,7 +445,6 @@ void Config::Save() {
graphics->Set("ForceMaxEmulatedFPS", iForceMaxEmulatedFPS);
graphics->Set("AnisotropyLevel", iAnisotropyLevel);
graphics->Set("VertexCache", bVertexCache);
graphics->Set("VertexDecoderJit", bVertexDecoderJit);
#ifdef _WIN32
graphics->Set("FullScreen", bFullScreen);
#endif

View file

@ -143,7 +143,10 @@ void GameSettingsScreen::CreateViews() {
graphicsSettings->Add(new CheckBox(&g_Config.bHardwareTransform, gs->T("Hardware Transform")));
CheckBox *swSkin = graphicsSettings->Add(new CheckBox(&g_Config.bSoftwareSkinning, gs->T("Software Skinning")));
graphicsSettings->Add(new CheckBox(&g_Config.bVertexCache, gs->T("Vertex Cache")));
CheckBox *vtxJit = graphicsSettings->Add(new CheckBox(&g_Config.bVertexDecoderJit, gs->T("Vertex Decoder JIT")));
// Seems solid, so we hide the setting.
// CheckBox *vtxJit = graphicsSettings->Add(new CheckBox(&g_Config.bVertexDecoderJit, gs->T("Vertex Decoder JIT")));
if (PSP_IsInited()) {
swSkin->SetEnabled(false);
vtxJit->SetEnabled(false);