pl: Implement GetSharedFontInOrderOfPriorityForSystem (#2382)

This commit is contained in:
Ac_K 2021-06-23 22:32:56 +02:00 committed by GitHub
parent e334303559
commit 0b00473e5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,6 +103,15 @@ namespace Ryujinx.HLE.HOS.Services.Sdb.Pl
return ResultCode.Success;
}
[CommandHipc(6)] // 4.0.0+
// GetSharedFontInOrderOfPriorityForSystem(bytes<8, 1>) -> (u8, u32, buffer<unknown, 6>, buffer<unknown, 6>, buffer<unknown, 6>)
public ResultCode GetSharedFontInOrderOfPriorityForSystem(ServiceCtx context)
{
// TODO: Check the differencies with GetSharedFontInOrderOfPriority.
return GetSharedFontInOrderOfPriority(context);
}
private bool AddFontToOrderOfPriorityList(ServiceCtx context, SharedFontType fontType, uint offset)
{
ulong typesPosition = context.Request.ReceiveBuff[0].Position;