From 6ea002b1b544f82f2f801058cd131ead12fc16e2 Mon Sep 17 00:00:00 2001 From: mazmazz Date: Sun, 19 Aug 2018 08:34:03 -0400 Subject: [PATCH] Enable midi_volume, it actually works --- src/sdl/mixer_sound.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c index 0864bafe2..a49186909 100644 --- a/src/sdl/mixer_sound.c +++ b/src/sdl/mixer_sound.c @@ -1153,12 +1153,7 @@ void I_ShutdownMIDIMusic(void) void I_SetMIDIMusicVolume(UINT8 volume) { - // HACK: Until we stop using native MIDI, - // disable volume changes - (void)volume; - midi_volume = 31; - //midi_volume = volume; - + midi_volume = volume; if (!midimode || !music) return; Mix_VolumeMusic((UINT32)midi_volume*128/31);