mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-22 20:25:34 +00:00
Added many more error codes for .serr (#12)
* All the modules added, and all FS Error codes! * Added common errors, plus all HIDBUS errors. * Added all error codes for new modules! * 0x2A2 fatal error added. * Fixed accidental paste * Added erpt error codes + new Devmenu module.
This commit is contained in:
parent
b98928f801
commit
ada0e92d32
|
@ -11,17 +11,26 @@ switch_modules = {
|
|||
9: "Loader ",
|
||||
10: "CMIF (IPC command interface) ",
|
||||
11: "HIPC (IPC) ",
|
||||
12: "TMA ",
|
||||
15: "PM ",
|
||||
16: "NS ",
|
||||
17: "Sockets ",
|
||||
17: "BSDSockets ",
|
||||
18: "HTC ",
|
||||
19: "TSC ",
|
||||
20: "NCM Content ",
|
||||
21: "SM ",
|
||||
22: "RO userland ",
|
||||
23: "Gc ",
|
||||
24: "SDMMC ",
|
||||
25: "OVLN ",
|
||||
26: "SPL ",
|
||||
27: "Socket ",
|
||||
29: "HTCLOW ",
|
||||
30: "Bus",
|
||||
31: "HTCFS ",
|
||||
32: "Async ",
|
||||
33: "Util ",
|
||||
35: "TIPC ",
|
||||
100: "ETHC ",
|
||||
101: "I2C ",
|
||||
102: "GPIO ",
|
||||
|
@ -31,6 +40,7 @@ switch_modules = {
|
|||
108: "XCD ",
|
||||
110: "NIFM ",
|
||||
111: "Hwopus ",
|
||||
112: "LSM6DS3 ",
|
||||
113: "Bluetooth ",
|
||||
114: "VI ",
|
||||
115: "NFP ",
|
||||
|
@ -48,6 +58,7 @@ switch_modules = {
|
|||
128: "AM ",
|
||||
129: "Play Report ",
|
||||
130: "AHID ",
|
||||
131: "Applet ",
|
||||
132: "Home Menu (Qlaunch) ",
|
||||
133: "PCV ",
|
||||
134: "OMM ",
|
||||
|
@ -68,37 +79,74 @@ switch_modules = {
|
|||
149: "CEC",
|
||||
150: "Profiler ",
|
||||
151: "Error Upload ",
|
||||
152: "LIDBE ",
|
||||
153: "Audio ",
|
||||
154: "NPNS ",
|
||||
155: "NPNS HTTP Stream ",
|
||||
156: "IDLE ",
|
||||
157: "ARP ",
|
||||
158: "Updater ",
|
||||
159: "SWKBD ",
|
||||
160: "Network Diagnostics ",
|
||||
161: "NFC Mifare ",
|
||||
162: "Userland assert ",
|
||||
163: "Fatal ",
|
||||
164: "NIM Shop ",
|
||||
165: "SPSM ",
|
||||
166: "AOC ",
|
||||
167: "BGTC ",
|
||||
168: "Userland crash ",
|
||||
169: "SASBUS ",
|
||||
170: "PL ",
|
||||
173: "LBL ",
|
||||
175: "JIT ",
|
||||
176: "HDCP ",
|
||||
177: "OMM ",
|
||||
178: "PDM",
|
||||
179: "OLSC ",
|
||||
180: "SREPO ",
|
||||
181: "Dauth ",
|
||||
191: "RTC",
|
||||
192: "Regulator",
|
||||
197: "Clkrst",
|
||||
182: "STDFU ",
|
||||
183: "Debug ",
|
||||
187: "SPI ",
|
||||
189: "PWM ",
|
||||
191: "RTC ",
|
||||
192: "Regulator ",
|
||||
193: "LED ",
|
||||
197: "Clkrst ",
|
||||
198: "Powctl ",
|
||||
202: "HID ",
|
||||
203: "LDN ",
|
||||
204: "CS ",
|
||||
205: "Irsensor ",
|
||||
206: "Capture ",
|
||||
208: "Manu ",
|
||||
209: "ATK ",
|
||||
210: "Web ",
|
||||
211: " ",
|
||||
211: "LCS ",
|
||||
212: "GRC ",
|
||||
213: "Repair ",
|
||||
214: "Album ",
|
||||
215: "RID ",
|
||||
216: "Migration ",
|
||||
217: "Migration Idc Server ",
|
||||
218: "HIDBUS ",
|
||||
219: "ENS ",
|
||||
223: "Websocket ",
|
||||
227: "CAPMTP ",
|
||||
228: "PGL ",
|
||||
229: "Notification ",
|
||||
230: "INS ",
|
||||
231: "LP2P ",
|
||||
232: "RCD ",
|
||||
235: "PRC ",
|
||||
238: "ECTX ",
|
||||
239: "MNPP ",
|
||||
244: "DP2HDMI ",
|
||||
246: "Sprofile ",
|
||||
250: "NDRM ",
|
||||
499: "TSPM ",
|
||||
500: "Devmenu ",
|
||||
# Libnx
|
||||
345: "libnx ",
|
||||
346: "Homebrew ABI ",
|
||||
|
@ -106,6 +154,7 @@ switch_modules = {
|
|||
348: "libnx Nvidia",
|
||||
349: "libnx Binder",
|
||||
# Support Errors
|
||||
520: "Nverpt",
|
||||
800: "General web-applet",
|
||||
809: "WifiWebAuthApplet",
|
||||
810: "Whitelisted-applet",
|
||||
|
@ -125,6 +174,7 @@ switch_known_errcodes = {
|
|||
0xCE01: "Resource exhaustion ",
|
||||
0xD001: "Memory exhaustion ",
|
||||
0xD201: "Handle-table exhaustion ",
|
||||
0xD401: "Invalid memory state / Invalid memory permissions. ",
|
||||
0xD801: "Invalid memory permissions. ",
|
||||
0xDC01: "Invalid memory range ",
|
||||
0xE001: "Invalid thread priority. ",
|
||||
|
@ -291,6 +341,28 @@ switch_known_errcodes = {
|
|||
0x1D60A: "Invalid in object count. ",
|
||||
0x1D80A: "Invalid out object count. ",
|
||||
0x25A0A: "Out of domain entries. ",
|
||||
0x1423: "Invalid command ID received by tipc processor. ",
|
||||
0x1E23: "Invalid message format received by tipc processor. ",
|
||||
0xC823: "Tipc request was deferred for future processing. ",
|
||||
0xCA23: "Tipc object was closed. ",
|
||||
0x4AF: "Bad version returned from calling the (nnjitpluginGetVersion) symbol. ",
|
||||
0xCAAF: "Input NRO/NRR are too large for the storage buffer. ",
|
||||
0x4B0AF: "Symbol funcptr used by this cmd is not initialized (Control/GenerateCode). ",
|
||||
0x4B2AF: "DllPlugin Not initialized, or plugin NRO has already been loaded. ",
|
||||
0x4B4AF: "An error was returned from calling the symbol funcptr with the Control cmd. ",
|
||||
0x104E7: "Nullptr passed to the LocalCommunicationId control.nacp validation func. ",
|
||||
0x140E7: "GroupInfo field out of range. ",
|
||||
0x142E7: "SupportedPlatform not appropriate for this operation. ",
|
||||
0x146E7: "Invalid ServiceName. ",
|
||||
0x148E7: "Must provide PresharedBinaryKey. ",
|
||||
0x1C0E7: "Requested Priority value not allowed. ",
|
||||
0x1C2E7: "Matching LocalCommunicationId not found in the user-process control.nacp. ",
|
||||
0x200E7: "Invalid flag. ",
|
||||
0x204E7: "Invalid SupportedPlatform. ",
|
||||
0x208E7: "Invalid StaticAesKeyIndex. ",
|
||||
0x20AE7: "MemberCountMax cannot be greater than 8. ",
|
||||
0x210E7: "GroupInfo+8F must be 0x20. ",
|
||||
0xA83: "Unrecognized applet ID ",
|
||||
0x20B: "Unsupported operation ",
|
||||
0xCC0B: "Out of server session memory ",
|
||||
0x11A0B: "Went past maximum during marshalling. ",
|
||||
|
@ -441,6 +513,26 @@ switch_known_errcodes = {
|
|||
0x9F469: "Null Amiibo ECQV BLS key buffer ",
|
||||
0x9F669: "Null Amiibo ECQV BLS certificate buffer ",
|
||||
0x9F869: "Null Amiibo ECQV BLS root certificate buffer ",
|
||||
# erpt error codes
|
||||
0x293: "Not Initialized ",
|
||||
0x493: "Already Initialized ",
|
||||
0x693: "Out of Array Space ",
|
||||
0x893: "Out of Field Space ",
|
||||
0xA93: "Out of Memory ",
|
||||
0xC93: "Not Supported ",
|
||||
0xE93: "Invalid Argument ",
|
||||
0x1093: "Not Found ",
|
||||
0x1293: "Field Category Mismatch ",
|
||||
0x1493: "Field Type Mismatch ",
|
||||
0x1693: "Already Exists ",
|
||||
0x1893: "Corrupt Journal ",
|
||||
0x1A93: "Category Not Found ",
|
||||
0x1C93: "Required Context Missing ",
|
||||
0x1E93: "Required Field Missing ",
|
||||
0x2093: "Formatter Error ",
|
||||
0x2293: "Invalid Power State ",
|
||||
0x2493: "Array Field Too Large ",
|
||||
0x2693: "Already Owned ",
|
||||
0x272: "Generic error ",
|
||||
0xCC74: "Time not set ",
|
||||
0x287C: "Argument is NULL ",
|
||||
|
@ -538,6 +630,9 @@ switch_known_errcodes = {
|
|||
0x31B002: "Operation not supported in nn::fssystem::ConcatenationFile",
|
||||
0x327202: "Writable file not closed when committing",
|
||||
0x35F202: "Mount name not found in table.",
|
||||
0x28CB: "The [6.0.0+] Authentication challenge failed. ",
|
||||
0xE2CB: "The specified LocalCommunicationVersion is less than the AccessPoint LocalCommunicationVersion. ",
|
||||
0xE4CB: "The specified LocalCommunicationVersion is larger than the AccessPoint LocalCommunicationVersion. ",
|
||||
0x21A: "SMC is not implemented",
|
||||
0x61A: "SMC is currently in progress/secmon is busy",
|
||||
0x81A: "Secmon not currently performing async operation",
|
||||
|
@ -557,6 +652,14 @@ switch_known_errcodes = {
|
|||
0xA27A: "Data verification failed",
|
||||
0xB47A: "Invalid API call",
|
||||
0xC47A: "Invalid operation",
|
||||
0x4DA: "StatusManager entry IsValid flag not set, or controller-update currently in-progress. ",
|
||||
0x6DA: "Controller-update failed via the LibraryApplet. ",
|
||||
0x8DA: "Invalid BusHandle. ",
|
||||
0xADA: "StatusManager entry flag +0x0 not set, or device not connected. ",
|
||||
0xEDA: "PollingReceivedData not available. ",
|
||||
0x10DA: "StatusManager entry DeviceEnabled flag not set, or flag +0x0 not set. ",
|
||||
0x12DA: "ExternalDeviceId mismatch. ",
|
||||
0x14DA: "BusHandle already initialized. ",
|
||||
0x290: "Exited Abnormally ([[Applet_Manager_services#LibraryAppletExitReason|ExitReason]] == Abormal)",
|
||||
0x690: "Canceled ([[Applet_Manager_services#LibraryAppletExitReason|ExitReason]] == Canceled)",
|
||||
0x890: "Rejected", # me_irl
|
||||
|
@ -566,14 +669,51 @@ switch_known_errcodes = {
|
|||
0x198CD: "IR camera invalid handle value.",
|
||||
# FS Codes
|
||||
0xD401: "Error: Passed buffer is not usable for fs library. ",
|
||||
0x7802: "Error: Specified mount name already exists. ",
|
||||
0x7D202: "Error: Specified partition is not found. ",
|
||||
0x7D402: "Error: Specified target is not found. ",
|
||||
0xFA002: "Error: Failed to access SD card. ",
|
||||
0x136802: "Error: Failed to access game card. "
|
||||
0x177202: "Error: Specified operation is not implemented. ",
|
||||
0x177A02: "Error: Specified value is out of range. ",
|
||||
0x2F5C02: "Error: Invalid size was specified.",
|
||||
0x190002: "Error: Failed to allocate memory. ",
|
||||
0x1B5802: "Error: Failed to access MMC. ",
|
||||
0x1F4202: "Error: ROM is corrupted. ",
|
||||
0x219A02: "Error: Save data is corrupted. ",
|
||||
0x232A02: "Error: NCA is corrupted. ",
|
||||
0x23F202: "Error: Integrity verification failed. ",
|
||||
0x244202: "Error: Partition FS is corrupted. ",
|
||||
0x246A02: "Error: Built-in-storage is corrupted. ",
|
||||
0x249202: "Error: FAT FS is corrupted. ",
|
||||
0x24BA02: "Error: HOST FS is corrupted. ",
|
||||
0x1F4002: "Error: Data is corrupted. ",
|
||||
0x271002: "Error: Unexpected failure occurred. ",
|
||||
0x2F5C02: "Error: Invalid size was specified. ",
|
||||
0x2F5E02: "Error: Null pointer argument was specified. ",
|
||||
0x2EE002: "Error: Precondition violation. ",
|
||||
0x2EE202: "Error: Invalid argument was specified. ",
|
||||
0x2EE402: "Error: Invalid path was specified. ",
|
||||
0x2EE602: "Error: Too long path was specified. ",
|
||||
0x2EE802: "Error: Invalid path character was specified. ",
|
||||
0x2EEA02: "Error: Invalid path format was specified. ",
|
||||
0x2F5A02: "Error: Invalid offset was specified. ",
|
||||
0x2F5C02: "Error: Invalid size was specified. ",
|
||||
0x2F5E02: "Error: Null pointer argument was specified. ",
|
||||
0x2F6202: "Error: Invalid mount name was specified. ",
|
||||
0x2F6402: "Error: Extension size exceeds max value set in nmeta file. ",
|
||||
0x2F6602: "Error: Extension size is not a multiple of nn::fs::SaveDataExtensionUnitSize. ",
|
||||
0x307202: "Error: OpenMode_AllowAppend is required for implicit extension of file size by WriteFile(). ",
|
||||
0x307002: "Error: Invalid operation for the open mode. ",
|
||||
0x313802: "Error: Unsupported operation. ",
|
||||
0x320002: "Error: Permission denied. ",
|
||||
0x327202: "Error: Close files opened in write mode before committing. ",
|
||||
0x328202: "Error: Specified user doesn't exist. ",
|
||||
0x346402: "Error: Enough journal space is not left. ",
|
||||
0x346A02: "Error: The open count of files and directories reached the limitation. ",
|
||||
0x353602: "Error: Save data extension count reached the limitation. ",
|
||||
0x35F202: "Error: Specified mount name is not found. ",
|
||||
# Fatal
|
||||
0x2A2: "An internal assert occured within the application, application aborted.",
|
||||
0x4A2: "Can be triggered by running svcBreak. The svcBreak params have no affect on the value of the thrown error-code.",
|
||||
0xA8: "Userland ARM undefined instruction exception",
|
||||
0x2A8: "Userland ARM prefetch-abort due to PC set to non-executable region",
|
||||
|
|
Loading…
Reference in a new issue