- fixed selection of system MIDI device on startup

https://forum.zdoom.org/viewtopic.php?t=66150
This commit is contained in:
alexey.lysiuk 2019-10-18 15:22:58 +03:00 committed by drfrag
parent 79b39648d7
commit 505902b141

View file

@ -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))
{