Skip to content
Snippets Groups Projects
Commit 0248fcec authored by SteelT's avatar SteelT
Browse files

Some small change

Really this is just to prevent the music end up being disorted at max
volume
parent 0b6d6c33
No related branches found
No related tags found
2 merge requests!488Merge in next and don't billboard papersprites in GL,!248GME low volume fix
...@@ -458,7 +458,8 @@ static void mix_gme(void *udata, Uint8 *stream, int len) ...@@ -458,7 +458,8 @@ static void mix_gme(void *udata, Uint8 *stream, int len)
// apply volume to stream // apply volume to stream
for (i = 0, p = (short *)stream; i < len/2; i++, p++) 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 #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment