@@ -749,10 +749,13 @@ static const ConfigSetting soundSettings[] = {
749749 ConfigSetting (" Enable" , &g_Config.bEnableSound , true , CfgFlag::PER_GAME),
750750 ConfigSetting (" AudioBackend" , &g_Config.iAudioBackend , 0 , CfgFlag::PER_GAME),
751751 ConfigSetting (" ExtraAudioBuffering" , &g_Config.bExtraAudioBuffering , false , CfgFlag::DEFAULT),
752- ConfigSetting (" GlobalVolume" , &g_Config.iGlobalVolume , VOLUME_FULL, CfgFlag::PER_GAME),
752+
753+ ConfigSetting (" GlobalVolume" , &g_Config.iGameVolume , VOLUME_FULL, CfgFlag::PER_GAME),
753754 ConfigSetting (" ReverbVolume" , &g_Config.iReverbVolume , VOLUME_FULL, CfgFlag::PER_GAME),
754- ConfigSetting (" AltSpeedVolume " , &g_Config.iAltSpeedVolume , - 1 , CfgFlag::PER_GAME),
755+ ConfigSetting (" AltSpeedRelativeVolume " , &g_Config.iAltSpeedVolume , VOLUMEHI_FULL , CfgFlag::PER_GAME),
755756 ConfigSetting (" AchievementSoundVolume" , &g_Config.iAchievementSoundVolume , 6 , CfgFlag::PER_GAME),
757+ ConfigSetting (" UIVolume" , &g_Config.iUIVolume , 70 , CfgFlag::DEFAULT),
758+
756759 ConfigSetting (" AudioDevice" , &g_Config.sAudioDevice , " " , CfgFlag::DEFAULT),
757760 ConfigSetting (" AutoAudioDevice" , &g_Config.bAutoAudioDevice , true , CfgFlag::DEFAULT),
758761 ConfigSetting (" AudioMixWithOthers" , &g_Config.bAudioMixWithOthers , true , CfgFlag::DEFAULT),
@@ -1293,12 +1296,14 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
12931296 vPostShaderNames.push_back (it.second );
12941297 }
12951298
1296- // Check for an old dpad setting
1297- Section *control = iniFile.GetOrCreateSection (" Control" );
1298- float f;
1299- control->Get (" DPadRadius" , &f, 0 .0f );
1300- if (f > 0 .0f ) {
1301- ResetControlLayout ();
1299+ // Check for an old dpad setting (very obsolete)
1300+ Section *control = iniFile.GetSection (" Control" );
1301+ if (control) {
1302+ float f;
1303+ control->Get (" DPadRadius" , &f, 0 .0f );
1304+ if (f > 0 .0f ) {
1305+ ResetControlLayout ();
1306+ }
13021307 }
13031308
13041309 // Force JIT setting to a valid value for the current system configuration.
@@ -1485,7 +1490,7 @@ void Config::PostLoadCleanup(bool gameSpecific) {
14851490
14861491 // Automatically silence secondary instances. Could be an option I guess, but meh.
14871492 if (PPSSPP_ID > 1 ) {
1488- g_Config.iGlobalVolume = 0 ;
1493+ g_Config.iGameVolume = 0 ;
14891494 }
14901495
14911496 // Automatically switch away from deprecated setting value.
0 commit comments