- 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
parent 230da2e2b9
commit c3dc8ea837

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