mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-23 09:15:46 +00:00
pl: Implement GetSharedFontInOrderOfPriorityForSystem (#2382)
This commit is contained in:
parent
e334303559
commit
0b00473e5d
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue