1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-13 03:46:40 +00:00

Add various error codes to NCM LR (#1225)

The error codes were taken from Switchbrew (https://switchbrew.org/wiki/Error_codes)
This commit is contained in:
VolcaEM 2020-05-08 16:06:32 +02:00 committed by GitHub
parent 0711ffd52b
commit fe72bc9274
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,14 @@
Success = 0,
ProgramLocationEntryNotFound = (2 << ErrorCodeShift) | ModuleId,
AccessDenied = (5 << ErrorCodeShift) | ModuleId
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
}
}
}