mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-02 16:50:20 -07:00

* Implement `GetTitleId` Fixes #2516 * Null check + Proper result code * Better comment * Implement `GetApplicationProcessId` * Add TODOs * Update Ryujinx.HLE/HOS/Services/Pm/IInformationInterface.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update Ryujinx.HLE/HOS/Services/Pm/IDebugMonitorInterface.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Remove new function from KernelStatic Co-authored-by: Ac_K <Acoustik666@gmail.com>
17 lines
531 B
C#
17 lines
531 B
C#
namespace Ryujinx.HLE.HOS.Services.Pm
|
|
{
|
|
enum ResultCode
|
|
{
|
|
ModuleId = 15,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
ProcessNotFound = (1 << ErrorCodeShift) | ModuleId,
|
|
AlreadyStarted = (2 << ErrorCodeShift) | ModuleId,
|
|
NotTerminated = (3 << ErrorCodeShift) | ModuleId,
|
|
DebugHookInUse = (4 << ErrorCodeShift) | ModuleId,
|
|
ApplicationRunning = (5 << ErrorCodeShift) | ModuleId,
|
|
InvalidSize = (6 << ErrorCodeShift) | ModuleId,
|
|
}
|
|
} |