mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-30 11:35:39 +00:00
remove check for xbox one as it doesn't work on series consoles
This commit is contained in:
parent
13c5ee8bfb
commit
28ebc46e19
|
@ -145,14 +145,11 @@ bool UWPHostInterface::CreateDisplay(bool fullscreen)
|
||||||
GAMING_DEVICE_MODEL_INFORMATION gdinfo = {};
|
GAMING_DEVICE_MODEL_INFORMATION gdinfo = {};
|
||||||
if (SUCCEEDED(GetGamingDeviceModelInformation(&gdinfo)) && gdinfo.vendorId == GAMING_DEVICE_VENDOR_ID_MICROSOFT)
|
if (SUCCEEDED(GetGamingDeviceModelInformation(&gdinfo)) && gdinfo.vendorId == GAMING_DEVICE_VENDOR_ID_MICROSOFT)
|
||||||
{
|
{
|
||||||
if (gdinfo.deviceId != GAMING_DEVICE_DEVICE_ID_XBOX_ONE)
|
Log_InfoPrintf("Overriding core window size %ux%u with HDMI size %ux%u", wi.surface_width,
|
||||||
{
|
wi.surface_height, hdmi_width, hdmi_height);
|
||||||
Log_InfoPrintf("Overriding core window size %ux%u with HDMI size %ux%u", wi.surface_width,
|
wi.surface_scale *= static_cast<float>(hdmi_width) / static_cast<float>(wi.surface_width);
|
||||||
wi.surface_height, hdmi_width, hdmi_height);
|
wi.surface_width = hdmi_width;
|
||||||
wi.surface_scale *= static_cast<float>(hdmi_width) / static_cast<float>(wi.surface_width);
|
wi.surface_height = hdmi_height;
|
||||||
wi.surface_width = hdmi_width;
|
|
||||||
wi.surface_height = hdmi_height;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue