diff options
Diffstat (limited to 'Ryujinx/OsHle/Services/ServicePl.cs')
| -rw-r--r-- | Ryujinx/OsHle/Services/ServicePl.cs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Ryujinx/OsHle/Services/ServicePl.cs b/Ryujinx/OsHle/Services/ServicePl.cs new file mode 100644 index 00000000..6981637f --- /dev/null +++ b/Ryujinx/OsHle/Services/ServicePl.cs @@ -0,0 +1,35 @@ +using Ryujinx.OsHle.Ipc; + +namespace Ryujinx.OsHle.Services +{ + static partial class Service + { + public static long PlGetLoadState(ServiceCtx Context) + { + Context.ResponseData.Write(1); //Loaded + + return 0; + } + + public static long PlGetFontSize(ServiceCtx Context) + { + Context.ResponseData.Write(Horizon.FontSize); + + return 0; + } + + public static long PlGetSharedMemoryAddressOffset(ServiceCtx Context) + { + Context.ResponseData.Write(0); + + return 0; + } + + public static long PlGetSharedMemoryNativeHandle(ServiceCtx Context) + { + Context.Response.HandleDesc = IpcHandleDesc.MakeCopy(Context.Ns.Os.FontHandle); + + return 0; + } + } +}
\ No newline at end of file |
