log debug message to tty

This commit is contained in:
georgemoralis 2024-04-01 08:44:07 +03:00
parent 2382e77898
commit 06d6ad09ea
3 changed files with 3 additions and 1 deletions

View file

@ -466,7 +466,7 @@ s64 PS4_SYSV_ABI ps4__write(int d, const void* buf, std::size_t nbytes) {
char* str = strdup((const char*)buf);
if (str[nbytes - 1] == '\n')
str[nbytes - 1] = 0;
LOG_INFO(Kernel, "{}", str);
LOG_INFO(Tty, "{}", str);
free(str);
return nbytes;
}