KERNELPRINTF->PRINTF, NOTICE->INFO

This commit is contained in:
Henrik Rydgård committed 2023-09-08 08:40:54 +02:00
1 parent 90cd9d4c68
commit 6cb2c0dc59
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ enum class LogType {
IO,
ACHIEVEMENTS,
HTTP,
KERNELPRINTF,
PRINTF,
SCEAUDIO,
SCECTRL,
+1 -1
View File
@@ -97,7 +97,7 @@ static const char *g_logTypeNames[] = {
"IO",
"ACHIEVEMENTS",
"HTTP",
"KERNELPRINTF",
"PRINTF",
"SCEAUDIO",
"SCECTRL",
+2 -2
View File
@@ -1211,9 +1211,9 @@ static int sceKernelPrintf(const char *formatString)
result.resize(result.size() - 1);
if (supported)
NOTICE_LOG(KERNELPRINTF, "sceKernelPrintf: %s", result.c_str());
INFO_LOG(PRINTF, "sceKernelPrintf: %s", result.c_str());
else
ERROR_LOG(KERNELPRINTF, "UNIMPL sceKernelPrintf(%s, %08x, %08x, %08x)", format.c_str(), PARAM(1), PARAM(2), PARAM(3));
ERROR_LOG(PRINTF, "UNIMPL sceKernelPrintf(%s, %08x, %08x, %08x)", format.c_str(), PARAM(1), PARAM(2), PARAM(3));
return 0;
}