- avoid passing nullptr args to MIDI streamer

https://forum.zdoom.org/viewtopic.php?t=72161
This commit is contained in:
alexey.lysiuk 2021-05-05 11:17:45 +03:00
parent e598ab7f1c
commit 0f1d954646

View file

@ -1021,7 +1021,7 @@ DLL_EXPORT zmusic_bool ZMusic_MIDIDumpWave(ZMusic_MidiSource source, EMidiDevice
{
try
{
MIDIStreamer me(devtype, devarg);
MIDIStreamer me(devtype, devarg ? devarg : "");
me.SetMIDISource(source);
me.DumpWave(outname, subsong, samplerate);
return true;