mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
Fix an errant use of FMODMIDIDevice
This commit is contained in:
parent
a8348b13de
commit
1d20152aee
1 changed files with 2 additions and 2 deletions
|
@ -285,8 +285,8 @@ MIDIDevice *MIDIStreamer::CreateMIDIDevice(EMidiDevice devtype) const
|
||||||
catch (CRecoverableError &err)
|
catch (CRecoverableError &err)
|
||||||
{
|
{
|
||||||
// The creation of an OPL MIDI device can abort with an error if no GENMIDI lump can be found.
|
// The creation of an OPL MIDI device can abort with an error if no GENMIDI lump can be found.
|
||||||
Printf("Unable to create OPL MIDI device: %s\nFalling back to FModEx playback", err.GetMessage());
|
Printf("Unable to create OPL MIDI device: %s\nFalling back to Sound System playback", err.GetMessage());
|
||||||
return new FMODMIDIDevice;
|
return new SndSysMIDIDevice;
|
||||||
}
|
}
|
||||||
|
|
||||||
case MDEV_TIMIDITY:
|
case MDEV_TIMIDITY:
|
||||||
|
|
Loading…
Reference in a new issue