mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-29 01:19:20 +00:00
25c3b8b356
* Implement some calls of ISelfController This PR implement some calls of ISelfController: - EnterFatalSection - LeaveFatalSection - GetAccumulatedSuspendedTickValue (close #937) According to RE of the 8.1.0 am service. * thread safe increment/decrement * Fix thread safe * remove unused using
18 lines
636 B
C#
18 lines
636 B
C#
namespace Ryujinx.HLE.HOS.Services.Am
|
|
{
|
|
enum ResultCode
|
|
{
|
|
ModuleId = 128,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
NotAvailable = (2 << ErrorCodeShift) | ModuleId,
|
|
NoMessages = (3 << ErrorCodeShift) | ModuleId,
|
|
ObjectInvalid = (500 << ErrorCodeShift) | ModuleId,
|
|
OutOfBounds = (503 << ErrorCodeShift) | ModuleId,
|
|
InvalidParameters = (506 << ErrorCodeShift) | ModuleId,
|
|
UnbalancedFatalSection = (512 << ErrorCodeShift) | ModuleId,
|
|
NullObject = (518 << ErrorCodeShift) | ModuleId
|
|
}
|
|
} |