mirror of
https://git.zaroz.cloud/nintendo-back-up/Ryujinx.git
synced 2026-01-02 15:37:16 +00:00
Move solution and projects to src
This commit is contained in:
21
src/Ryujinx.HLE/HOS/Services/Pm/IShellInterface.cs
Normal file
21
src/Ryujinx.HLE/HOS/Services/Pm/IShellInterface.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace Ryujinx.HLE.HOS.Services.Pm
|
||||
{
|
||||
[Service("pm:shell")]
|
||||
class IShellInterface : IpcService
|
||||
{
|
||||
public IShellInterface(ServiceCtx context) { }
|
||||
|
||||
[CommandCmif(6)]
|
||||
// GetApplicationPid() -> u64
|
||||
public ResultCode GetApplicationPid(ServiceCtx context)
|
||||
{
|
||||
// FIXME: This is wrong but needed to make hb loader works
|
||||
// TODO: Change this when we will have a way to process via a PM like interface.
|
||||
ulong pid = context.Process.Pid;
|
||||
|
||||
context.ResponseData.Write(pid);
|
||||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user