mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-22 00:59:18 +01:00
nsyshid: Silence some logging in release builds
This commit is contained in:
parent
1575866eca
commit
d81eb952a4
@ -67,13 +67,6 @@ namespace nsyshid::backend::windows
|
||||
device->m_productId);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cemuLog_log(LogType::Force,
|
||||
"nsyshid::BackendWindowsHID: device not on whitelist: {:04x}:{:04x}",
|
||||
device->m_vendorId,
|
||||
device->m_productId);
|
||||
}
|
||||
}
|
||||
CloseHandle(hHIDDevice);
|
||||
}
|
||||
@ -125,14 +118,12 @@ namespace nsyshid::backend::windows
|
||||
}
|
||||
if (maxPacketInputLength <= 0 || maxPacketInputLength >= 0xF000)
|
||||
{
|
||||
cemuLog_log(LogType::Force, "HID: Input packet length not available or out of range (length = {})",
|
||||
maxPacketInputLength);
|
||||
cemuLog_logDebug(LogType::Force, "HID: Input packet length not available or out of range (length = {})", maxPacketInputLength);
|
||||
maxPacketInputLength = 0x20;
|
||||
}
|
||||
if (maxPacketOutputLength <= 0 || maxPacketOutputLength >= 0xF000)
|
||||
{
|
||||
cemuLog_log(LogType::Force, "HID: Output packet length not available or out of range (length = {})",
|
||||
maxPacketOutputLength);
|
||||
cemuLog_logDebug(LogType::Force, "HID: Output packet length not available or out of range (length = {})", maxPacketOutputLength);
|
||||
maxPacketOutputLength = 0x20;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user