Some small change

Really this is just to prevent the music end up being disorted at max
volume
This commit is contained in:
Steel Titanium 2018-05-29 20:31:28 -04:00
parent 0b6d6c3363
commit 0248fcecd4
1 changed files with 2 additions and 1 deletions

View File

@ -458,7 +458,8 @@ static void mix_gme(void *udata, Uint8 *stream, int len)
// apply volume to stream
for (i = 0, p = (short *)stream; i < len/2; i++, p++)
*p = ((INT32)*p) * music_volume*2/31;
*p = ((INT32)*p) * music_volume*2 / 42;
CONS_Printf("%hs", p);
}
#endif