From 22505ac998a0c48d8d9cd00bbbbbf6306c4bb586 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Thu, 25 Jul 2013 23:51:45 +0200 Subject: [PATCH] Jack up default audio volumes to 7, change the parameter names. --- Core/Config.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index 4b18cf10ad..eed466be5a 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -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);