0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-23 05:45:47 +00:00

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; 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) private bool AddFontToOrderOfPriorityList(ServiceCtx context, SharedFontType fontType, uint offset)
{ {
ulong typesPosition = context.Request.ReceiveBuff[0].Position; ulong typesPosition = context.Request.ReceiveBuff[0].Position;