mirror of
https://github.com/dborth/fceugx.git
synced 2024-12-04 22:34:14 +01:00
compress bg music
This commit is contained in:
parent
9fca96c7a1
commit
a9c3f8c631
@ -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.
Loading…
Reference in New Issue
Block a user