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
This commit is contained in:
Max Lingua 2009-07-12 22:00:47 +00:00
parent a0c3754971
commit 973adc2772

View file

@ -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.