mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 14:22:13 +00:00
- disable music playback if WinMM stream cannot be opened
https://forum.zdoom.org/viewtopic.php?t=62888
This commit is contained in:
parent
74ec789d0e
commit
4a83f4d251
1 changed files with 4 additions and 0 deletions
|
@ -198,6 +198,10 @@ int WinMIDIDevice::Open(MidiCallback callback, void *userdata)
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue