mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 14:29:16 +01:00
Don't warn on GetConfig IOCTL fails
This commit is contained in:
parent
4aef24ba32
commit
d9c8e62d1c
@ -72,7 +72,10 @@ namespace skyline::service::nvdrv {
|
|||||||
case PosixResult::InappropriateIoctlForDevice:
|
case PosixResult::InappropriateIoctlForDevice:
|
||||||
case PosixResult::NotSupported:
|
case PosixResult::NotSupported:
|
||||||
default:
|
default:
|
||||||
Logger::Warn("IOCTL {} failed: {}", ioctl, static_cast<i32>(result));
|
constexpr u32 GetConfigIoctl{0xC183001B};
|
||||||
|
// GetConfig is the only ioctl that's expected to fail with one of these errors in normal use so ignore it
|
||||||
|
if (ioctl != GetConfigIoctl)
|
||||||
|
Logger::Warn("IOCTL {} failed: 0x{:X}", ioctl, static_cast<i32>(result));
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user