diff options
author | Max Lingua | 2009-07-12 22:00:47 +0000 |
---|---|---|
committer | Max Lingua | 2009-07-12 22:00:47 +0000 |
commit | 973adc2772a3c84337ab8d8a871a2ddbfd6ee496 (patch) | |
tree | 9612916e80ad046bbd0a46fc7726a3b1f09af6ba /common | |
parent | a0c37549714a9f02351e85d3503ae129b0aae9b0 (diff) | |
download | scummvm-rg350-973adc2772a3c84337ab8d8a871a2ddbfd6ee496.tar.gz scummvm-rg350-973adc2772a3c84337ab8d8a871a2ddbfd6ee496.tar.bz2 scummvm-rg350-973adc2772a3c84337ab8d8a871a2ddbfd6ee496.zip |
On PS2 use "fprintf" (as in 0.13.x ) to print error messages to stderr,
rather than "fputs", which is buggy in the PS2 implementation.
svn-id: r42429
Diffstat (limited to 'common')
-rw-r--r-- | common/util.cpp | 4 |
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. |