Fix "NOMIXER" flag compiling

This commit is contained in:
filpAM 2019-09-13 13:20:44 -04:00
parent 3cd5b3a33e
commit fe4cbd7ba1
1 changed files with 4 additions and 1 deletions

View File

@ -1173,7 +1173,10 @@ void I_StartupSound(void)
const char *sdrv_name = NULL;
#endif
#ifndef HAVE_MIXER
midi_disabled = digital_disabled = true;
#ifndef NO_MIDI
midi_disabled =
#endif
digital_disabled = true;
#endif
memset(channels, 0, sizeof (channels)); //Alam: Clean it