aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/softseq/opl2.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-21 18:16:17 +0000
committerFilippos Karapetis2009-02-21 18:16:17 +0000
commit426def4f44a2997163632058cd4b6b21a61e533c (patch)
treeae0c3a8ff261e4a99394e6b1072ece490b6fdb0e /engines/sci/sfx/softseq/opl2.cpp
parent11b2ddfc5450fda4638dd264f576e48d17d85b12 (diff)
downloadscummvm-rg350-426def4f44a2997163632058cd4b6b21a61e533c.tar.gz
scummvm-rg350-426def4f44a2997163632058cd4b6b21a61e533c.tar.bz2
scummvm-rg350-426def4f44a2997163632058cd4b6b21a61e533c.zip
Turned back all fprintf/exit(1) bits into error()
svn-id: r38716
Diffstat (limited to 'engines/sci/sfx/softseq/opl2.cpp')
-rw-r--r--engines/sci/sfx/softseq/opl2.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/sci/sfx/softseq/opl2.cpp b/engines/sci/sfx/softseq/opl2.cpp
index 627659abd4..2986917b7a 100644
--- a/engines/sci/sfx/softseq/opl2.cpp
+++ b/engines/sci/sfx/softseq/opl2.cpp
@@ -473,13 +473,11 @@ static void opl2_poll(sfx_softseq_t *self, byte *dest, int count) {
gint16 *ptr = buffer;
if (!ready) {
- fprintf(stderr, "synth_mixer(): !ready \n");
- exit(1);
+ error("synth_mixer(): !ready \n");
}
if (!buffer) {
- fprintf(stderr, "synth_mixer(): !buffer \n");
- exit(1);
+ error("synth_mixer(): !buffer \n");
}
#if 0