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);
|
device->m_productId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
cemuLog_log(LogType::Force,
|
|
||||||
"nsyshid::BackendWindowsHID: device not on whitelist: {:04x}:{:04x}",
|
|
||||||
device->m_vendorId,
|
|
||||||
device->m_productId);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
CloseHandle(hHIDDevice);
|
CloseHandle(hHIDDevice);
|
||||||
}
|
}
|
||||||
@ -125,14 +118,12 @@ namespace nsyshid::backend::windows
|
|||||||
}
|
}
|
||||||
if (maxPacketInputLength <= 0 || maxPacketInputLength >= 0xF000)
|
if (maxPacketInputLength <= 0 || maxPacketInputLength >= 0xF000)
|
||||||
{
|
{
|
||||||
cemuLog_log(LogType::Force, "HID: Input packet length not available or out of range (length = {})",
|
cemuLog_logDebug(LogType::Force, "HID: Input packet length not available or out of range (length = {})", maxPacketInputLength);
|
||||||
maxPacketInputLength);
|
|
||||||
maxPacketInputLength = 0x20;
|
maxPacketInputLength = 0x20;
|
||||||
}
|
}
|
||||||
if (maxPacketOutputLength <= 0 || maxPacketOutputLength >= 0xF000)
|
if (maxPacketOutputLength <= 0 || maxPacketOutputLength >= 0xF000)
|
||||||
{
|
{
|
||||||
cemuLog_log(LogType::Force, "HID: Output packet length not available or out of range (length = {})",
|
cemuLog_logDebug(LogType::Force, "HID: Output packet length not available or out of range (length = {})", maxPacketOutputLength);
|
||||||
maxPacketOutputLength);
|
|
||||||
maxPacketOutputLength = 0x20;
|
maxPacketOutputLength = 0x20;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user