aboutsummaryrefslogtreecommitdiff
path: root/backends/midi
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-17 20:37:45 -0400
committerMatthew Hoops2012-09-17 20:38:33 -0400
commit065b996d1551c9fb2ba927dac47a5fb907ac8d8e (patch)
tree2601ebf45bab83c16132b37b9498d5b95d3647fc /backends/midi
parent893a2b37ff651e69699879932fe70895a28951fa (diff)
downloadscummvm-rg350-065b996d1551c9fb2ba927dac47a5fb907ac8d8e.tar.gz
scummvm-rg350-065b996d1551c9fb2ba927dac47a5fb907ac8d8e.tar.bz2
scummvm-rg350-065b996d1551c9fb2ba927dac47a5fb907ac8d8e.zip
MACOSX: Make failing to load a soundfont in CoreAudio fatal
If we don't bail out, CoreAudio will explode.
Diffstat (limited to 'backends/midi')
-rw-r--r--backends/midi/coreaudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/coreaudio.cpp b/backends/midi/coreaudio.cpp
index ffa2580acf..94262d0d92 100644
--- a/backends/midi/coreaudio.cpp
+++ b/backends/midi/coreaudio.cpp
@@ -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