Fix afd_endpoint::ioctl_connect

This commit is contained in:
Igor Pissolati
2025-05-21 18:31:01 -03:00
parent 017ec50adc
commit e0507aa2c5
5 changed files with 64 additions and 2 deletions

View File

@@ -25,6 +25,12 @@ namespace syscalls
const auto* f = c.proc.files.get(file_handle);
if (!f)
{
if (c.proc.devices.get(file_handle))
{
c.win_emu.log.error("Unsupported set device info class: %X\n", info_class);
return STATUS_SUCCESS;
}
return STATUS_INVALID_HANDLE;
}