mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 06:10:47 -07:00
Report 1080p resolution when in docked mode (#2618)
This commit is contained in:
@ -192,9 +192,17 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Sys
|
||||
[CommandHipc(60)] // 3.0.0+
|
||||
// GetDefaultDisplayResolution() -> (u32, u32)
|
||||
public ResultCode GetDefaultDisplayResolution(ServiceCtx context)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user