Jack up default audio volumes to 7, change the parameter names.

This commit is contained in:
Henrik Rydgard 2013-07-25 23:51:45 +02:00
parent 5e791fad51
commit 22505ac998

View file

@ -132,8 +132,8 @@ void Config::Load(const char *iniFileName)
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Get("Enable", &bEnableSound, true);
sound->Get("EnableAtrac3plus", &bEnableAtrac3plus, true);
sound->Get("BGMVolume", &iBGMVolume, 5);
sound->Get("SEVolume", &iSEVolume, 5);
sound->Get("VolumeBGM", &iBGMVolume, 7);
sound->Get("VolumeSFX", &iSEVolume, 7);
IniFile::Section *control = iniFile.GetOrCreateSection("Control");
control->Get("ShowStick", &bShowAnalogStick, false);
@ -227,7 +227,6 @@ void Config::Save()
graphics->Set("HardwareTransform", bHardwareTransform);
graphics->Set("TextureFiltering", iTexFiltering);
graphics->Set("SSAA", SSAntiAliasing);
graphics->Set("VBO", bUseVBO);
graphics->Set("FrameSkip", iFrameSkip);
graphics->Set("FrameRate", iFpsLimit);
graphics->Set("ForceMaxEmulatedFPS", iForceMaxEmulatedFPS);
@ -251,8 +250,8 @@ void Config::Save()
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Set("Enable", bEnableSound);
sound->Set("EnableAtrac3plus", bEnableAtrac3plus);
sound->Set("BGMVolume", iBGMVolume);
sound->Set("SEVolume", iSEVolume);
sound->Set("VolumeBGM", iBGMVolume);
sound->Set("VolumeSFX", iSEVolume);
IniFile::Section *control = iniFile.GetOrCreateSection("Control");
control->Set("ShowStick", bShowAnalogStick);