mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-24 07:06:49 +00:00
22 lines
477 B
C#
22 lines
477 B
C#
|
using Ryujinx.OsHle.Handles;
|
||
|
using Ryujinx.OsHle.Ipc;
|
||
|
|
||
|
namespace Ryujinx.OsHle.Objects
|
||
|
{
|
||
|
class HidIAppletResource
|
||
|
{
|
||
|
public HSharedMem Handle;
|
||
|
|
||
|
public HidIAppletResource(HSharedMem Handle)
|
||
|
{
|
||
|
this.Handle = Handle;
|
||
|
}
|
||
|
|
||
|
public static long GetSharedMemoryHandle(ServiceCtx Context)
|
||
|
{
|
||
|
Context.Response.HandleDesc = IpcHandleDesc.MakeCopy(Context.Ns.Os.HidHandle);
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
}
|