compress bg music

This commit is contained in:
Daryl Borth 2018-08-12 16:37:15 -06:00
parent 9fca96c7a1
commit a9c3f8c631
2 changed files with 5 additions and 3 deletions

View File

@ -372,7 +372,7 @@ void FixInvalidSettings()
if(!(GCSettings.yshift > -50 && GCSettings.yshift < 50))
GCSettings.yshift = 0;
if(!(GCSettings.MusicVolume >= 0 && GCSettings.MusicVolume <= 100))
GCSettings.MusicVolume = 40;
GCSettings.MusicVolume = 20;
if(!(GCSettings.SFXVolume >= 0 && GCSettings.SFXVolume <= 100))
GCSettings.SFXVolume = 40;
if(GCSettings.language < 0 || GCSettings.language >= LANG_LENGTH)
@ -417,7 +417,7 @@ DefaultSettings ()
GCSettings.WiimoteOrientation = 0;
GCSettings.ExitAction = 0; // Auto
GCSettings.MusicVolume = 40;
GCSettings.MusicVolume = 20;
GCSettings.SFXVolume = 40;
GCSettings.Rumble = 1; // Enabled
GCSettings.DisplayVM = 0; // Disabled
@ -593,11 +593,13 @@ bool LoadPrefs()
if(prefFound)
FixInvalidSettings();
// attempt to create screenshots directory if it doesn't exist
// attempt to create directories if they don't exist
if(GCSettings.LoadMethod != DEVICE_AUTO) {
char dirPath[MAXPATHLEN];
sprintf(dirPath, "%s%s", pathPrefix[GCSettings.LoadMethod], GCSettings.ScreenshotsFolder);
CreateDirectory(dirPath);
sprintf(dirPath, "%s%s", pathPrefix[GCSettings.LoadMethod], GCSettings.CheatFolder);
CreateDirectory(dirPath);
}
ResetText();

Binary file not shown.