mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-15 15:07:47 +00:00
Merge pull request #14009 from Dentomologist/windowsdevice_silence_missing_property_log_spam
WindowsDevice: Silence missing property log spam
This commit is contained in:
commit
e0e2c7461b
@ -47,7 +47,8 @@ std::optional<std::wstring> GetPropertyHelper(auto function, auto dev,
|
||||
if (const auto result = function(dev, requested_property, &type, nullptr, &buffer_size, 0);
|
||||
result != CR_SUCCESS && result != CR_BUFFER_SMALL)
|
||||
{
|
||||
WARN_LOG_FMT(COMMON, "CM_Get_DevNode_Property returned: {}", result);
|
||||
if (result != CR_NO_SUCH_VALUE)
|
||||
WARN_LOG_FMT(COMMON, "CM_Get_DevNode_Property returned: {}", result);
|
||||
return std::nullopt;
|
||||
}
|
||||
if (type != expected_type)
|
||||
|
Loading…
Reference in New Issue
Block a user