mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-03 07:11:56 +00:00
Log in all build game output. This can help debugging with user log.
This commit is contained in:
parent
e04f5156ee
commit
8e719d4c8c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user