From a4089fc87871d795dea2723b8869ab22cf970085 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sat, 11 Sep 2021 17:24:10 -0300 Subject: [PATCH] Report 1080p resolution when in docked mode (#2618) --- .../SystemAppletProxy/ICommonStateGetter.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ICommonStateGetter.cs b/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ICommonStateGetter.cs index 4c862dd6..a042b2e8 100644 --- a/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ICommonStateGetter.cs +++ b/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ICommonStateGetter.cs @@ -193,8 +193,16 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Sys // GetDefaultDisplayResolution() -> (u32, u32) public ResultCode GetDefaultDisplayResolution(ServiceCtx context) { - context.ResponseData.Write(1280); - context.ResponseData.Write(720); + if (context.Device.System.State.DockedMode) + { + context.ResponseData.Write(1920); + context.ResponseData.Write(1080); + } + else + { + context.ResponseData.Write(1280); + context.ResponseData.Write(720); + } return ResultCode.Success; }