mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-30 15:52:09 +00:00
Menu: Fix cycling the "midi devices" menu option.
This commit is contained in:
parent
b6ef9fae3e
commit
6dd570c538
1 changed files with 2 additions and 4 deletions
|
@ -51,9 +51,9 @@ static uint32_t nummididevices;
|
||||||
static bool nummididevicesset;
|
static bool nummididevicesset;
|
||||||
|
|
||||||
#ifdef HAVE_FLUIDSYNTH
|
#ifdef HAVE_FLUIDSYNTH
|
||||||
#define NUM_DEF_DEVICES 6
|
|
||||||
#else
|
|
||||||
#define NUM_DEF_DEVICES 5
|
#define NUM_DEF_DEVICES 5
|
||||||
|
#else
|
||||||
|
#define NUM_DEF_DEVICES 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void AddDefaultMidiDevices(FOptionValues *opt)
|
static void AddDefaultMidiDevices(FOptionValues *opt)
|
||||||
|
@ -75,8 +75,6 @@ static void AddDefaultMidiDevices(FOptionValues *opt)
|
||||||
pair[p+2].Value = -2.0;
|
pair[p+2].Value = -2.0;
|
||||||
pair[p+3].Text = "WildMidi";
|
pair[p+3].Text = "WildMidi";
|
||||||
pair[p+3].Value = -6.0;
|
pair[p+3].Value = -6.0;
|
||||||
pair[p+4].Text = "Sound System";
|
|
||||||
pair[p+4].Value = -1.0;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue