diff options
| author | Ac_K <Acoustik666@gmail.com> | 2021-06-23 22:32:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-23 22:32:56 +0200 |
| commit | 0b00473e5db665d6f7f5a17cada3aa9b753855fd (patch) | |
| tree | dddb6058930b6b52c3421356d1a9b70779706412 | |
| parent | e33430355954c77c05b240e1453a5daaf6202d72 (diff) | |
pl: Implement GetSharedFontInOrderOfPriorityForSystem (#2382)
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Sdb/Pl/ISharedFontManager.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Sdb/Pl/ISharedFontManager.cs b/Ryujinx.HLE/HOS/Services/Sdb/Pl/ISharedFontManager.cs index d7397f7d..048e11da 100644 --- a/Ryujinx.HLE/HOS/Services/Sdb/Pl/ISharedFontManager.cs +++ b/Ryujinx.HLE/HOS/Services/Sdb/Pl/ISharedFontManager.cs @@ -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; |
