Small fixes. v0.6.

This commit is contained in:
Henrik Rydgard committed 2013-01-26 21:39:35 +01:00
1 parent 7ba8d1efe9
commit 1ed9a6ba56
10 files changed
+55 -36

No files matched your search

+3 -1
View File
@@ -68,7 +68,7 @@ void CConfig::Load(const char *iniFileName)
graphics->Get("SSAA", &SSAntiAlaising, 0);
graphics->Get("VBO", &bUseVBO, false);
graphics->Get("DisableG3DLog", &bDisableG3DLog, false);
graphics->Get("VertexCache", &bVertexCache, false);
graphics->Get("VertexCache", &bVertexCache, true);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Get("Enable", &bEnableSound, true);
@@ -81,6 +81,7 @@ void CConfig::Load(const char *iniFileName)
#else
false);
#endif
control->Get("LargeControls", &bLargeControls, false);
IniFile::Section *pspConfig = iniFile.GetOrCreateSection("SystemParam");
pspConfig->Get("Language", &ilanguage, PSP_SYSTEMPARAM_LANGUAGE_ENGLISH);
@@ -128,6 +129,7 @@ void CConfig::Save()
IniFile::Section *control = iniFile.GetOrCreateSection("Control");
control->Set("ShowStick", bShowAnalogStick);
control->Set("ShowTouchControls", bShowTouchControls);
control->Set("LargeControls", bLargeControls);
IniFile::Section *pspConfig = iniFile.GetOrCreateSection("SystemParam");
pspConfig->Set("Language", ilanguage);