From 44f490b6854d5260ca5a6c8778f92a05f182bd0f Mon Sep 17 00:00:00 2001 From: nashmuhandes Date: Tue, 2 Aug 2016 17:16:45 +0800 Subject: [PATCH] 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) --- src/s_advsound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s_advsound.cpp b/src/s_advsound.cpp index 011c9930c..8bc1b4868 100644 --- a/src/s_advsound.cpp +++ b/src/s_advsound.cpp @@ -1371,7 +1371,7 @@ static void S_AddSNDINFO (int lump) sc.MustGetString(); MidiDeviceSetting devset; 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("opl")) devset.device = MDEV_OPL; else if (sc.Compare("default")) devset.device = MDEV_DEFAULT;