From ba6a9119fc786f8b3bfc7869e1c4b44b055a10ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 27 Jan 2025 00:13:20 +0100 Subject: [PATCH] Minor logging fixes --- Core/HLE/scePspNpDrm_user.cpp | 2 +- UI/ImDebugger/ImDebugger.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/HLE/scePspNpDrm_user.cpp b/Core/HLE/scePspNpDrm_user.cpp index 19a87c3a0d..a1d9a966d7 100644 --- a/Core/HLE/scePspNpDrm_user.cpp +++ b/Core/HLE/scePspNpDrm_user.cpp @@ -30,7 +30,7 @@ static int sceNpDrmEdataSetupKey(u32 edataFd) { // call PGD open // Note that usec accumulates. retval = __IoIoctl(edataFd, 0x04100001, 0, 0, 0, 0, usec); - return hleDelayResult(hleLogError(Log::sceIo, retval), "io ctrl command", usec); + return hleDelayResult(hleLogSuccessOrError(Log::sceIo, retval), "io ctrl command", usec); } static int sceNpDrmEdataGetDataSize(u32 edataFd) { diff --git a/UI/ImDebugger/ImDebugger.cpp b/UI/ImDebugger/ImDebugger.cpp index 459b8d3187..6339cf9fde 100644 --- a/UI/ImDebugger/ImDebugger.cpp +++ b/UI/ImDebugger/ImDebugger.cpp @@ -612,7 +612,6 @@ static void DrawAdhoc(ImConfig &cfg) { ImGui::Text("WantTextInput: %s", BoolStr(io.WantTextInput)); */ - ImGui::Text("sceNetAdhoc inited: %s", BoolStr(netAdhocInited)); ImGui::Text("sceNetAdhoc inited: %s", BoolStr(netAdhocInited)); ImGui::Text("sceNetAdhocctl inited: %s", BoolStr(netAdhocctlInited)); ImGui::Text("sceNetAdhocctl state: %s", AdhocCtlStateToString(NetAdhocctl_GetState()));