IOS: Correct ES return code names about signatures
-1027 is used when ES cannot find the issuer of a certificate. -1012 is used when the signature type is invalid.
This commit is contained in:
parent
13b1fa2c65
commit
34c9bf391e
|
@ -19,38 +19,39 @@ namespace HLE
|
|||
{
|
||||
enum ReturnCode : s32
|
||||
{
|
||||
IPC_SUCCESS = 0, // Success
|
||||
IPC_EACCES = -1, // Permission denied
|
||||
IPC_EEXIST = -2, // File exists
|
||||
IPC_EINVAL = -4, // Invalid argument or fd
|
||||
IPC_EMAX = -5, // Too many file descriptors open
|
||||
IPC_ENOENT = -6, // File not found
|
||||
IPC_EQUEUEFULL = -8, // Queue full
|
||||
IPC_EIO = -12, // ECC error
|
||||
IPC_ENOMEM = -22, // Alloc failed during request
|
||||
FS_EINVAL = -101, // Invalid path
|
||||
FS_EACCESS = -102, // Permission denied
|
||||
FS_ECORRUPT = -103, // Corrupted NAND
|
||||
FS_EEXIST = -105, // File exists
|
||||
FS_ENOENT = -106, // No such file or directory
|
||||
FS_ENFILE = -107, // Too many fds open
|
||||
FS_EFBIG = -108, // Max block count reached?
|
||||
FS_EFDEXHAUSTED = -109, // Too many fds open
|
||||
FS_ENAMELEN = -110, // Pathname is too long
|
||||
FS_EFDOPEN = -111, // FD is already open
|
||||
FS_EIO = -114, // ECC error
|
||||
FS_ENOTEMPTY = -115, // Directory not empty
|
||||
FS_EDIRDEPTH = -116, // Max directory depth exceeded
|
||||
FS_EBUSY = -118, // Resource busy
|
||||
ES_SHORT_READ = -1009, // Short read
|
||||
ES_EIO = -1010, // Write failure
|
||||
IPC_SUCCESS = 0, // Success
|
||||
IPC_EACCES = -1, // Permission denied
|
||||
IPC_EEXIST = -2, // File exists
|
||||
IPC_EINVAL = -4, // Invalid argument or fd
|
||||
IPC_EMAX = -5, // Too many file descriptors open
|
||||
IPC_ENOENT = -6, // File not found
|
||||
IPC_EQUEUEFULL = -8, // Queue full
|
||||
IPC_EIO = -12, // ECC error
|
||||
IPC_ENOMEM = -22, // Alloc failed during request
|
||||
FS_EINVAL = -101, // Invalid path
|
||||
FS_EACCESS = -102, // Permission denied
|
||||
FS_ECORRUPT = -103, // Corrupted NAND
|
||||
FS_EEXIST = -105, // File exists
|
||||
FS_ENOENT = -106, // No such file or directory
|
||||
FS_ENFILE = -107, // Too many fds open
|
||||
FS_EFBIG = -108, // Max block count reached?
|
||||
FS_EFDEXHAUSTED = -109, // Too many fds open
|
||||
FS_ENAMELEN = -110, // Pathname is too long
|
||||
FS_EFDOPEN = -111, // FD is already open
|
||||
FS_EIO = -114, // ECC error
|
||||
FS_ENOTEMPTY = -115, // Directory not empty
|
||||
FS_EDIRDEPTH = -116, // Max directory depth exceeded
|
||||
FS_EBUSY = -118, // Resource busy
|
||||
ES_SHORT_READ = -1009, // Short read
|
||||
ES_EIO = -1010, // Write failure
|
||||
ES_INVALID_SIGNATURE_TYPE = -1012,
|
||||
ES_FD_EXHAUSTED = -1016, // Max of 3 ES handles exceeded
|
||||
ES_EINVAL = -1017, // Invalid argument
|
||||
ES_DEVICE_ID_MISMATCH = -1018,
|
||||
ES_HASH_MISMATCH = -1022, // Decrypted content hash doesn't match with the hash from the TMD
|
||||
ES_ENOMEM = -1024, // Alloc failed during request
|
||||
ES_EACCES = -1026, // Incorrect access rights (according to TMD)
|
||||
ES_INVALID_TMD_SIGNATURE_TYPE = -1027,
|
||||
ES_UNKNOWN_ISSUER = -1027,
|
||||
ES_NO_TICKET = -1028,
|
||||
ES_INVALID_TICKET = -1029,
|
||||
IOSC_EACCES = -2000,
|
||||
|
|
Loading…
Reference in New Issue