mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-28 13:10:14 +00:00
35 lines
No EOL
815 B
C#
35 lines
No EOL
815 B
C#
using Ryujinx.Core.OsHle.Ipc;
|
|
|
|
namespace Ryujinx.Core.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;
|
|
}
|
|
}
|
|
} |