MACOSX: Make failing to load a soundfont in CoreAudio fatal

If we don't bail out, CoreAudio will explode.
This commit is contained in:
Matthew Hoops 2012-09-17 20:37:45 -04:00
parent 893a2b37ff
commit 065b996d15

View File

@ -215,7 +215,7 @@ int MidiDriver_CORE::open() {
#endif
if (err != noErr)
warning("Failed loading custom sound font '%s' (error %ld)\n", soundfont, (long)err);
error("Failed loading custom sound font '%s' (error %ld)", soundfont, (long)err);
}
#ifdef COREAUDIO_DISABLE_REVERB