Fix "NOMIXER" flag compiling

This commit is contained in:
filpAM 2019-09-13 13:20:44 -04:00
parent 9beaac2e53
commit c194921142

View file

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