aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/player/polled.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sfx/player/polled.cpp')
-rw-r--r--engines/sci/sfx/player/polled.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/sci/sfx/player/polled.cpp b/engines/sci/sfx/player/polled.cpp
index b5b2eaf386..2274b0003a 100644
--- a/engines/sci/sfx/player/polled.cpp
+++ b/engines/sci/sfx/player/polled.cpp
@@ -25,12 +25,13 @@
/* Polled player, mostly for PCM-based thingies (which _can_ poll, after all) */
+#include "common/file.h"
+#include "common/util.h"
+
#include "sci/include/sfx_player.h"
#include "sci/sfx/softseq.h"
#include "sci/sfx/mixer.h"
-#include "common/file.h"
-
static song_iterator_t *play_it;
static int play_paused = 0;
static sfx_softseq_t *seq;
@@ -237,7 +238,7 @@ pp_add_iterator(song_iterator_t *it, GTimeVal start_time) {
static int
pp_fade_out(void) {
- fprintf(stderr, __FILE__": Attempt to fade out- not implemented yet\n");
+ warning(__FILE__": Attempt to fade out- not implemented yet\n");
return SFX_ERROR;
}
@@ -246,7 +247,7 @@ pp_stop(void) {
song_iterator_t *it = play_it;
play_it = NULL;
- fprintf(stderr, "[play] Now stopping it %p\n", (void *)it);
+ warning("[play] Now stopping it %p\n", (void *)it);
if (it)
songit_free(it);