KERNELPRINTF->PRINTF, NOTICE->INFO

This commit is contained in:
Henrik Rydgård 2023-09-08 08:37:45 +02:00
parent 90cd9d4c68
commit 6cb2c0dc59
3 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@ enum class LogType {
IO,
ACHIEVEMENTS,
HTTP,
KERNELPRINTF,
PRINTF,
SCEAUDIO,
SCECTRL,

View file

@ -97,7 +97,7 @@ static const char *g_logTypeNames[] = {
"IO",
"ACHIEVEMENTS",
"HTTP",
"KERNELPRINTF",
"PRINTF",
"SCEAUDIO",
"SCECTRL",

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;
}