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:
parent
a0c3754971
commit
973adc2772
1 changed files with 4 additions and 0 deletions
|
@ -477,7 +477,11 @@ void NORETURN error(const char *s, ...) {
|
||||||
|
|
||||||
|
|
||||||
// Print the error message to stderr
|
// Print the error message to stderr
|
||||||
|
#ifndef __PLAYSTATION2__
|
||||||
fputs(buf_output, stderr);
|
fputs(buf_output, stderr);
|
||||||
|
#else
|
||||||
|
fprintf(stderr, "%s\n", buf_output);
|
||||||
|
#endif
|
||||||
|
|
||||||
// Unless this error -originated- within the debugger itself, we
|
// Unless this error -originated- within the debugger itself, we
|
||||||
// now invoke the debugger, if available / supported.
|
// now invoke the debugger, if available / supported.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue