From 6dd570c5387cdb9d0d60fca8d58f4b75b9391e55 Mon Sep 17 00:00:00 2001 From: svdijk Date: Sun, 14 May 2017 06:57:57 +0200 Subject: [PATCH] Menu: Fix cycling the "midi devices" menu option. --- src/sound/music_midi_base.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/sound/music_midi_base.cpp b/src/sound/music_midi_base.cpp index 0604a40de..10ee4a2c2 100644 --- a/src/sound/music_midi_base.cpp +++ b/src/sound/music_midi_base.cpp @@ -51,9 +51,9 @@ static uint32_t nummididevices; static bool nummididevicesset; #ifdef HAVE_FLUIDSYNTH -#define NUM_DEF_DEVICES 6 -#else #define NUM_DEF_DEVICES 5 +#else +#define NUM_DEF_DEVICES 4 #endif static void AddDefaultMidiDevices(FOptionValues *opt) @@ -75,8 +75,6 @@ static void AddDefaultMidiDevices(FOptionValues *opt) pair[p+2].Value = -2.0; pair[p+3].Text = "WildMidi"; pair[p+3].Value = -6.0; - pair[p+4].Text = "Sound System"; - pair[p+4].Value = -1.0; }