diff --git a/Core/Config.cpp b/Core/Config.cpp index 2cf4ece238..ab9ac697a1 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -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); @@ -409,10 +409,10 @@ void Config::Save() { general->Set("GridView1", bGridView1); general->Set("GridView2", bGridView2); general->Set("GridView3", bGridView3); - + IniFile::Section *recent = iniFile.GetOrCreateSection("Recent"); recent->Set("MaxRecent", iMaxRecent); - + for (int i = 0; i < iMaxRecent; i++) { char keyName[64]; sprintf(keyName,"FileName%d",i); @@ -420,7 +420,7 @@ void Config::Save() { recent->Set(keyName, recentIsos[i]); } else { recent->Delete(keyName); // delete the nonexisting FileName - } + } } IniFile::Section *cpu = iniFile.GetOrCreateSection("CPU"); @@ -445,10 +445,9 @@ 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 +#endif #ifdef BLACKBERRY graphics->Set("PartialStretch", bPartialStretch); #endif diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index c1805b67ef..6338efcc36 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -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);