File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ void SetDefaultPrefs(void) {
7878
7979 gShockPrefs .soBackMusic = true;
8080 gShockPrefs .soSoundFX = true;
81- gShockPrefs .soMusicVolume = 100 ;
81+ gShockPrefs .soMusicVolume = 75 ;
8282 gShockPrefs .soSfxVolume = 100 ;
8383 gShockPrefs .soAudioLogVolume = 100 ;
8484
Original file line number Diff line number Diff line change @@ -126,7 +126,8 @@ void snd_sample_reload_parms(snd_digi_parms *sdp) {
126126
127127void MacTuneUpdateVolume (void ) {
128128 extern uchar curr_vol_lev ;
129- Mix_VolumeMusic ((curr_vol_lev * curr_vol_lev ) * 128 / 10000 );
129+ float music_vol_mod = 0.6f ;
130+ Mix_VolumeMusic (((curr_vol_lev * curr_vol_lev ) * 128 / 10000 ) * music_vol_mod );
130131}
131132
132133int MacTuneLoadTheme (char * theme_base , int themeID ) {
@@ -153,7 +154,7 @@ int MacTuneLoadTheme(char* theme_base, int themeID) {
153154}
154155
155156void MacTuneKillCurrentTheme (void ) {
156- Mix_FadeOutMusic ( 300 );
157+ Mix_HaltMusic ( );
157158}
158159
159160#else
You can’t perform that action at this time.
0 commit comments