aboutsummaryrefslogtreecommitdiff
path: root/common/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/util.cpp')
-rw-r--r--common/util.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/util.cpp b/common/util.cpp
index e99bbeb12d..170e972c4f 100644
--- a/common/util.cpp
+++ b/common/util.cpp
@@ -477,7 +477,11 @@ void NORETURN error(const char *s, ...) {
// Print the error message to stderr
+#ifndef __PLAYSTATION2__
fputs(buf_output, stderr);
+#else
+ fprintf(stderr, "%s\n", buf_output);
+#endif
// Unless this error -originated- within the debugger itself, we
// now invoke the debugger, if available / supported.