Skip to content

Commit d81eb95

Browse files
committed
nsyshid: Silence some logging in release builds
1 parent 1575866 commit d81eb95

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/Cafe/OS/libs/nsyshid/BackendWindowsHID.cpp

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,6 @@ namespace nsyshid::backend::windows
6767
device->m_productId);
6868
}
6969
}
70-
else
71-
{
72-
cemuLog_log(LogType::Force,
73-
"nsyshid::BackendWindowsHID: device not on whitelist: {:04x}:{:04x}",
74-
device->m_vendorId,
75-
device->m_productId);
76-
}
7770
}
7871
CloseHandle(hHIDDevice);
7972
}
@@ -125,14 +118,12 @@ namespace nsyshid::backend::windows
125118
}
126119
if (maxPacketInputLength <= 0 || maxPacketInputLength >= 0xF000)
127120
{
128-
cemuLog_log(LogType::Force, "HID: Input packet length not available or out of range (length = {})",
129-
maxPacketInputLength);
121+
cemuLog_logDebug(LogType::Force, "HID: Input packet length not available or out of range (length = {})", maxPacketInputLength);
130122
maxPacketInputLength = 0x20;
131123
}
132124
if (maxPacketOutputLength <= 0 || maxPacketOutputLength >= 0xF000)
133125
{
134-
cemuLog_log(LogType::Force, "HID: Output packet length not available or out of range (length = {})",
135-
maxPacketOutputLength);
126+
cemuLog_logDebug(LogType::Force, "HID: Output packet length not available or out of range (length = {})", maxPacketOutputLength);
136127
maxPacketOutputLength = 0x20;
137128
}
138129

0 commit comments

Comments
 (0)