From 28ebc46e19de7bd79dcbb85aac0321cb4294fdd0 Mon Sep 17 00:00:00 2001 From: tunip3 <26260613+tunip3@users.noreply.github.com> Date: Fri, 1 Oct 2021 17:58:46 +0100 Subject: [PATCH] remove check for xbox one as it doesn't work on series consoles --- src/duckstation-uwp/uwp_host_interface.cpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/duckstation-uwp/uwp_host_interface.cpp b/src/duckstation-uwp/uwp_host_interface.cpp index f1c1241ce..41146ed22 100644 --- a/src/duckstation-uwp/uwp_host_interface.cpp +++ b/src/duckstation-uwp/uwp_host_interface.cpp @@ -145,14 +145,11 @@ bool UWPHostInterface::CreateDisplay(bool fullscreen) GAMING_DEVICE_MODEL_INFORMATION gdinfo = {}; 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); - wi.surface_scale *= static_cast(hdmi_width) / static_cast(wi.surface_width); - wi.surface_width = hdmi_width; - wi.surface_height = hdmi_height; - } + Log_InfoPrintf("Overriding core window size %ux%u with HDMI size %ux%u", wi.surface_width, + wi.surface_height, hdmi_width, hdmi_height); + wi.surface_scale *= static_cast(hdmi_width) / static_cast(wi.surface_width); + wi.surface_width = hdmi_width; + wi.surface_height = hdmi_height; } } }