mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-22 22:36:25 +00:00
Report 1080p resolution when in docked mode (#2618)
This commit is contained in:
parent
117e32a6ff
commit
a4089fc878
@ -193,8 +193,16 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Sys
|
|||||||
// GetDefaultDisplayResolution() -> (u32, u32)
|
// GetDefaultDisplayResolution() -> (u32, u32)
|
||||||
public ResultCode GetDefaultDisplayResolution(ServiceCtx context)
|
public ResultCode GetDefaultDisplayResolution(ServiceCtx context)
|
||||||
{
|
{
|
||||||
context.ResponseData.Write(1280);
|
if (context.Device.System.State.DockedMode)
|
||||||
context.ResponseData.Write(720);
|
{
|
||||||
|
context.ResponseData.Write(1920);
|
||||||
|
context.ResponseData.Write(1080);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
context.ResponseData.Write(1280);
|
||||||
|
context.ResponseData.Write(720);
|
||||||
|
}
|
||||||
|
|
||||||
return ResultCode.Success;
|
return ResultCode.Success;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user