Log in all build game output. This can help debugging with user log.

This commit is contained in:
Xele02 2013-01-22 21:31:17 +01:00
parent e04f5156ee
commit 8e719d4c8c

View File

@ -373,14 +373,14 @@ u32 sceIoWrite(int id, void *data_ptr, int size)
if (id == 2) {
//stderr!
const char *str = (const char*) data_ptr;
DEBUG_LOG(HLE, "stderr: %s", str);
INFO_LOG(HLE, "stderr: %s", str);
return size;
} else if (id == 1) {
//stdout!
char *str = (char *) data_ptr;
char temp = str[size];
str[size] = 0;
DEBUG_LOG(HLE, "stdout: %s", str);
INFO_LOG(HLE, "stdout: %s", str);
str[size] = temp;
return size;
}