diff options
Diffstat (limited to 'backends/platform')
| -rw-r--r-- | backends/platform/ps2/fileio.cpp | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/backends/platform/ps2/fileio.cpp b/backends/platform/ps2/fileio.cpp index 864f840e8a..017286dc45 100644 --- a/backends/platform/ps2/fileio.cpp +++ b/backends/platform/ps2/fileio.cpp @@ -507,6 +507,13 @@ int ps2_fputc(int c, FILE *stream) {  int ps2_fputs(const char *s, FILE *stream) {  	int len = strlen(s); + +	if (stream == stderr || stream == stdout) { +		printf("%s", s); +		sioprintf("%s", s); +		return len; +	} +  	if (ps2_fwrite(s, 1, len, stream) == (size_t)len)  		return len;  	else  | 
