mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-16 15:36:54 +00:00
fe72bc9274
The error codes were taken from Switchbrew (https://switchbrew.org/wiki/Error_codes)
20 lines
915 B
C#
20 lines
915 B
C#
namespace Ryujinx.HLE.HOS.Services.Ncm.Lr
|
|
{
|
|
enum ResultCode
|
|
{
|
|
ModuleId = 8,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
ProgramLocationEntryNotFound = (2 << ErrorCodeShift) | ModuleId,
|
|
InvalidContextForControlLocation = (3 << ErrorCodeShift) | ModuleId,
|
|
StorageNotFound = (4 << ErrorCodeShift) | ModuleId,
|
|
AccessDenied = (5 << ErrorCodeShift) | ModuleId,
|
|
OfflineManualHTMLLocationEntryNotFound = (6 << ErrorCodeShift) | ModuleId,
|
|
TitleIsNotRegistered = (7 << ErrorCodeShift) | ModuleId,
|
|
ControlLocationEntryForHostNotFound = (8 << ErrorCodeShift) | ModuleId,
|
|
LegalInfoHTMLLocationEntryNotFound = (9 << ErrorCodeShift) | ModuleId,
|
|
ProgramLocationForDebugEntryNotFound = (10 << ErrorCodeShift) | ModuleId
|
|
}
|
|
}
|