mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-11-05 18:08:58 -06:00
aloha
This commit is contained in:
22
Ryujinx/OsHle/Objects/HidIAppletResource.cs
Normal file
22
Ryujinx/OsHle/Objects/HidIAppletResource.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user