From 6cb2c0dc59beebb39276e9eeddf9f6f8dbeb618a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 8 Sep 2023 08:37:45 +0200 Subject: [PATCH] KERNELPRINTF->PRINTF, NOTICE->INFO --- Common/Log.h | 2 +- Common/LogManager.cpp | 2 +- Core/HLE/sceKernelMemory.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Common/Log.h b/Common/Log.h index c1b5f70db5..91b834b7fa 100644 --- a/Common/Log.h +++ b/Common/Log.h @@ -46,7 +46,7 @@ enum class LogType { IO, ACHIEVEMENTS, HTTP, - KERNELPRINTF, + PRINTF, SCEAUDIO, SCECTRL, diff --git a/Common/LogManager.cpp b/Common/LogManager.cpp index 0a4c8e6d9e..60396a6e27 100644 --- a/Common/LogManager.cpp +++ b/Common/LogManager.cpp @@ -97,7 +97,7 @@ static const char *g_logTypeNames[] = { "IO", "ACHIEVEMENTS", "HTTP", - "KERNELPRINTF", + "PRINTF", "SCEAUDIO", "SCECTRL", diff --git a/Core/HLE/sceKernelMemory.cpp b/Core/HLE/sceKernelMemory.cpp index b02f08fbf4..72b1a3faa9 100644 --- a/Core/HLE/sceKernelMemory.cpp +++ b/Core/HLE/sceKernelMemory.cpp @@ -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; }