mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
Fix crash when fluidsynth is not compiled in
This commit is contained in:
parent
04504a4901
commit
0ae9d3b93e
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ MIDIDevice *MIDIStreamer::CreateMIDIDevice(EMidiDevice devtype, int samplerate)
|
|||
break;
|
||||
|
||||
default:
|
||||
throw std::runtime_error("MIDI device type not compiled in");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue