aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/mixer/soft.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/mixer/soft.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/mixer/soft.cpp')
-rw-r--r--engines/sci/sfx/mixer/soft.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/sfx/mixer/soft.cpp b/engines/sci/sfx/mixer/soft.cpp
index 6e70be6eea..09d3f79ee1 100644
--- a/engines/sci/sfx/mixer/soft.cpp
+++ b/engines/sci/sfx/mixer/soft.cpp
@@ -606,9 +606,8 @@ static void mix_compute_input_linear(sfx_pcm_mixer_t *self, int add_result,
return;
default:
- fprintf(stderr, "[soft-mixer] Fatal: Invalid mode returned by PCM feed %s-%d's get_timestamp(): %d\n",
+ error("[soft-mixer] Fatal: Invalid mode returned by PCM feed %s-%d's get_timestamp(): %d\n",
f->debug_name, f->debug_nr, newmode);
- exit(1);
}
}