From c3dc8ea8371c3e81fcb1a641424017b2867564ef Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 18 Oct 2019 15:22:58 +0300 Subject: [PATCH] - fixed selection of system MIDI device on startup https://forum.zdoom.org/viewtopic.php?t=66150 --- src/sound/music/music_midi_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/music/music_midi_base.cpp b/src/sound/music/music_midi_base.cpp index cdd2790d4..4b5f014c9 100644 --- a/src/sound/music/music_midi_base.cpp +++ b/src/sound/music/music_midi_base.cpp @@ -188,7 +188,7 @@ CCMD (snd_listmididevices) #endif -CUSTOM_CVAR (Int, snd_mididevice, DEF_MIDIDEV, CVAR_ARCHIVE|CVAR_GLOBALCONFIG) +CUSTOM_CVAR (Int, snd_mididevice, DEF_MIDIDEV, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITCALL) { if ((self >= (signed)nummididevices) || (self < -8)) {