From 17e57f550cc5725538f135a1a99fe90587e8b6bc Mon Sep 17 00:00:00 2001 From: Sepalani Date: Mon, 14 Apr 2025 22:49:38 +0400 Subject: [PATCH] IOS/USB: Change HIDv4.cpp LogLevel to avoid INTRMSG killing performance This message can be sent a lot when polling inputs from a keyboard. HIDv5.cpp doesn't log INTRMSG in such a way. If needed, log messages can be added into specific devices instead. --- Source/Core/Core/IOS/USB/USB_HID/HIDv4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/IOS/USB/USB_HID/HIDv4.cpp b/Source/Core/Core/IOS/USB/USB_HID/HIDv4.cpp index f20928eba0..46f22cd0ce 100644 --- a/Source/Core/Core/IOS/USB/USB_HID/HIDv4.cpp +++ b/Source/Core/Core/IOS/USB/USB_HID/HIDv4.cpp @@ -34,7 +34,7 @@ std::optional USB_HIDv4::IOCtl(const IOCtlRequest& request) auto& system = GetSystem(); auto& memory = system.GetMemory(); - request.Log(GetDeviceName(), Common::Log::LogType::IOS_USB); + request.Log(GetDeviceName(), Common::Log::LogType::IOS_USB, Common::Log::LogLevel::LDEBUG); switch (request.request) { case USB::IOCTL_USBV4_GETVERSION: