aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/softseq/opl2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sfx/softseq/opl2.cpp')
-rw-r--r--engines/sci/sfx/softseq/opl2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/sfx/softseq/opl2.cpp b/engines/sci/sfx/softseq/opl2.cpp
index 9dc9bf387b..d84a114158 100644
--- a/engines/sci/sfx/softseq/opl2.cpp
+++ b/engines/sci/sfx/softseq/opl2.cpp
@@ -473,12 +473,12 @@ opl2_poll(sfx_softseq_t *self, byte *dest, int count) {
gint16 *ptr = buffer;
if (!ready) {
- fprintf(stderr, "synth_mixer(): !ready \n");
+ error("synth_mixer(): !ready \n");
exit(1);
}
if (!buffer) {
- fprintf(stderr, "synth_mixer(): !buffer \n");
+ error("synth_mixer(): !buffer \n");
exit(1);
}
@@ -537,7 +537,7 @@ opl2_init(sfx_softseq_t *self, byte *data_ptr, int data_length, byte *data2_ptr,
if (!(ym3812_L = OPLCreate(OPL_TYPE_YM3812, OPL_INTERNAL_FREQ, SAMPLE_RATE)) ||
!(ym3812_R = OPLCreate(OPL_TYPE_YM3812, OPL_INTERNAL_FREQ, SAMPLE_RATE))) {
- sciprintf("[sfx:seq:opl2] Failure: Emulator init failed!\n");
+ sciprintf("[sfx:seq:opl2] Failure: Emulator init failed");
return SFX_ERROR;
}