aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/time.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sfx/time.cpp')
-rw-r--r--engines/sci/sfx/time.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/sfx/time.cpp b/engines/sci/sfx/time.cpp
index f908525983..9e366ca4d9 100644
--- a/engines/sci/sfx/time.cpp
+++ b/engines/sci/sfx/time.cpp
@@ -23,6 +23,7 @@
*
*/
+#include "common/util.h"
#include "sci/include/sfx_time.h"
#include "sci/include/resource.h"
@@ -60,7 +61,7 @@ sfx_timestamp_frame_diff(sfx_timestamp_t a, sfx_timestamp_t b) {
long usecdelta = 0;
if (a.frame_rate != b.frame_rate) {
- fprintf(stderr, "Fatal: The semantics of subtracting two timestamps with a different base from each other is not defined!\n");
+ error("Fatal: The semantics of subtracting two timestamps with a different base from each other is not defined");
BREAKPOINT();
}