Merge branch 'gme-lowvolume-fix' into 'master'

GME low volume fix

See merge request STJr/SRB2!248
This commit is contained in:
Monster Iestyn 2018-07-31 14:35:32 -04:00
commit 485d990949
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ 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 / 31;
*p = ((INT32)*p) * music_volume*2 / 42;
}
#endif