forked from Mirror/Ryujinx
Add two error codes to Mii (#1224)
* Add two error codes to Mii The two errors added are InvalidDatabaseSignatureValue and InvalidDatabaseEntryCount, which were taken from Switchbrew (https://switchbrew.org/wiki/Error_codes) * Fix typo * Remove unnecessary empty line
This commit is contained in:
parent
fe72bc9274
commit
8b81819716
1 changed files with 19 additions and 18 deletions
|
@ -12,6 +12,8 @@
|
||||||
NotUpdated = (3 << ErrorCodeShift) | ModuleId,
|
NotUpdated = (3 << ErrorCodeShift) | ModuleId,
|
||||||
NotFound = (4 << ErrorCodeShift) | ModuleId,
|
NotFound = (4 << ErrorCodeShift) | ModuleId,
|
||||||
DatabaseFull = (5 << ErrorCodeShift) | ModuleId,
|
DatabaseFull = (5 << ErrorCodeShift) | ModuleId,
|
||||||
|
InvalidDatabaseSignatureValue = (67 << ErrorCodeShift) | ModuleId,
|
||||||
|
InvalidDatabaseEntryCount = (69 << ErrorCodeShift) | ModuleId,
|
||||||
InvalidCharInfo = (100 << ErrorCodeShift) | ModuleId,
|
InvalidCharInfo = (100 << ErrorCodeShift) | ModuleId,
|
||||||
InvalidCrc = (101 << ErrorCodeShift) | ModuleId,
|
InvalidCrc = (101 << ErrorCodeShift) | ModuleId,
|
||||||
InvalidDeviceCrc = (102 << ErrorCodeShift) | ModuleId,
|
InvalidDeviceCrc = (102 << ErrorCodeShift) | ModuleId,
|
||||||
|
@ -21,9 +23,8 @@
|
||||||
InvalidCreateId = (106 << ErrorCodeShift) | ModuleId,
|
InvalidCreateId = (106 << ErrorCodeShift) | ModuleId,
|
||||||
InvalidCoreData = (108 << ErrorCodeShift) | ModuleId,
|
InvalidCoreData = (108 << ErrorCodeShift) | ModuleId,
|
||||||
InvalidStoreData = (109 << ErrorCodeShift) | ModuleId,
|
InvalidStoreData = (109 << ErrorCodeShift) | ModuleId,
|
||||||
|
|
||||||
InvalidOperationOnSpecialMii = (202 << ErrorCodeShift) | ModuleId,
|
InvalidOperationOnSpecialMii = (202 << ErrorCodeShift) | ModuleId,
|
||||||
PermissionDenied = (203 << ErrorCodeShift) | ModuleId,
|
PermissionDenied = (203 << ErrorCodeShift) | ModuleId,
|
||||||
TestModeNotEnabled = (204 << ErrorCodeShift) | ModuleId,
|
TestModeNotEnabled = (204 << ErrorCodeShift) | ModuleId
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue