From 2ddce51a56a73acaa2bc1170d6c6ab087e1170c4 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 20 Feb 2009 20:39:02 +0000 Subject: Changed more messages to warnings/errors svn-id: r38621 --- engines/sci/sfx/player/polled.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'engines/sci/sfx/player/polled.cpp') 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); -- cgit v1.2.3