Restored the fmod keyword for the MIDI device parser, in case there are mods that actually use this (https://github.com/nashmuhandes/GZDoom-GPL/issues/3)

This commit is contained in:
nashmuhandes 2016-08-02 17:16:45 +08:00
parent 624a2da175
commit 44f490b685

View file

@ -1371,7 +1371,7 @@ static void S_AddSNDINFO (int lump)
sc.MustGetString(); sc.MustGetString();
MidiDeviceSetting devset; MidiDeviceSetting devset;
if (sc.Compare("timidity")) devset.device = MDEV_TIMIDITY; if (sc.Compare("timidity")) devset.device = MDEV_TIMIDITY;
else if (sc.Compare("sndsys")) devset.device = MDEV_SNDSYS; else if (sc.Compare("fmod") || sc.Compare("sndsys")) devset.device = MDEV_SNDSYS;
else if (sc.Compare("standard")) devset.device = MDEV_MMAPI; else if (sc.Compare("standard")) devset.device = MDEV_MMAPI;
else if (sc.Compare("opl")) devset.device = MDEV_OPL; else if (sc.Compare("opl")) devset.device = MDEV_OPL;
else if (sc.Compare("default")) devset.device = MDEV_DEFAULT; else if (sc.Compare("default")) devset.device = MDEV_DEFAULT;