Changes

Jump to navigation Jump to search
8,764 bytes added ,  19:11, 30 November 2018
Add several more null check/precondition error codes for system settings that I missed previously (forgot to check vtables references in relevant functions for return values)
Line 218: Line 218:  
{| class=wikitable
 
{| class=wikitable
 
! Value || Module || Description || Notes
 
! Value || Module || Description || Notes
 +
|-
 +
| 0x0E01 || 1 || 7 || Session count exceeded
 
|-
 
|-
 
| 0x1C01 || 1 || 14 || Invalid kernel capability descriptor
 
| 0x1C01 || 1 || 14 || Invalid kernel capability descriptor
Line 267: Line 269:  
| 0xF601 || 1 || 123 || Port remote dead
 
| 0xF601 || 1 || 123 || Port remote dead
 
|-
 
|-
| 0xF801 || 1 || 124 || [Usermode] Unhandled interrupt
+
| 0xF801 || 1 || 124 || [Usermode] Unhandled interrupt/exception
 
|-
 
|-
 
| 0xFA01 || 1 || 125 || Process already started/Wrong memory permission?
 
| 0xFA01 || 1 || 125 || Process already started/Wrong memory permission?
Line 284: Line 286:  
|-
 
|-
 
| 0x20801 || 1 || 260 || Command buffer too small
 
| 0x20801 || 1 || 260 || Command buffer too small
 +
|-
 +
| 0x40a01 || 1 || 517 || No such process
 
|-
 
|-
 
| 0x41001 || 1 || 520 || Process not being debugged
 
| 0x41001 || 1 || 520 || Process not being debugged
Line 346: Line 350:  
|-
 
|-
 
| 0x21BC02 || 2 || 4318 || Invalid save data filesystem magic (valid magic is SAVE in ASCII)
 
| 0x21BC02 || 2 || 4318 || Invalid save data filesystem magic (valid magic is SAVE in ASCII)
 +
|-
 +
| 0x234202 || 2 || 4513 || Error reading ACID section in NPDM
 +
|-
 +
| 0x234402 || 2 || 4514 || Invalid NPDM ACID section size
 +
|-
 +
| 0x234602 || 2 || 4515 || Last byte of the ACID modulus is zero
 +
|-
 +
| 0x234802 || 2 || 4516 || Invalid ACID fixed key signature
 +
|-
 +
| 0x234A02 || 2 || 4517 || Invalid NCA magic
 +
|-
 +
| 0x234C02 || 2 || 4518 || Invalid NCA header fixed key signature
 +
|-
 +
| 0x234E02 || 2 || 4519 || Invalid NCA header ACID signature
 +
|-
 +
| 0x235002 || 2 || 4520 || Invalid NCA header section hash
 
|-
 
|-
 
| 0x235202 || 2 || 4521 || Invalid NCA Key index
 
| 0x235202 || 2 || 4521 || Invalid NCA Key index
 +
|-
 +
| 0x235602 || 2 || 4523 || Invalid encryption type
 +
|-
 +
| 0x235802 || 2 || 4524 || Redirection BKTR table size is negative
 +
|-
 +
| 0x235A02 || 2 || 4525 || Encryption BKTR table size is negative
 +
|-
 +
| 0x235C02 || 2 || 4526 || Redirection BKTR table end offset is past the Encryption BKTR table start offset
 
|-
 
|-
 
| 0x235E02 || 2 || 4527 || NCA-path used with the wrong titleID.
 
| 0x235E02 || 2 || 4527 || NCA-path used with the wrong titleID.
 +
|-
 +
| 0x236002 || 2 || 4528 || NCA header value is out of range
 +
|-
 +
| 0x236202 || 2 || 4529 || NCA FS header value is out of range
 +
|-
 +
| 0x236802 || 2 || 4532 || PartitionFS hash block size is not a power of 2
 +
|-
 +
| 0x236A02 || 2 || 4533 || PartitionFS hash "always_2" field is not 2
 +
|-
 +
| 0x236C02 || 2 || 4534 || PartitionFS hash table is too small for main data
 +
|-
 +
| 0x236E02 || 2 || 4535 || Invalid PartitionFS block hash
 
|-
 
|-
 
| 0x249802 || 2 || 4684 || Invalid FAT file number.
 
| 0x249802 || 2 || 4684 || Invalid FAT file number.
Line 602: Line 642:  
|-
 
|-
 
| 0x19669 || 105 || 203 || Setting value cannot be NULL
 
| 0x19669 || 105 || 203 || Setting value cannot be NULL
 +
|-
 +
| 0x1A069 || 105 || 208 || Null setting value size buffer
 +
|-
 +
| 0x1A269 || 105 || 209 || Null debug mode flag buffer
 
|-
 
|-
 
| 0x1BA69 || 105 || 221 || Setting group name has zero length
 
| 0x1BA69 || 105 || 221 || Setting group name has zero length
 +
|-
 +
| 0x1BC69 || 105 || 222 || Empty settings item key
 
|-
 
|-
 
| 0x1E269 || 105 || 241 || Setting group name is too long (64 character limit?)
 
| 0x1E269 || 105 || 241 || Setting group name is too long (64 character limit?)
Line 612: Line 658:  
|-
 
|-
 
| 0x20C69 || 105 || 262 || Setting name ends with '.' or contains invalid characters (allowed: [a-z0-9_\-.])
 
| 0x20C69 || 105 || 262 || Setting name ends with '.' or contains invalid characters (allowed: [a-z0-9_\-.])
 +
|-
 +
| 0x4DA69 || 105 || 621 || Null language code buffer
 +
|-
 +
| 0x4EE69 || 105 || 631 || Null network settings buffer
 +
|-
 +
| 0x4F069 || 105 || 632 || Null network settings output count buffer
 +
|-
 +
| 0x50269 || 105 || 641 || Null backlight settings buffer
 +
|-
 +
| 0x51669 || 105 || 651 || Null Bluetooth device setting buffer
 +
|-
 +
| 0x51869 || 105 || 652 || Null Bluetooth device setting output count buffer
 +
|-
 +
| 0x51A69 || 105 || 653 || Null Bluetooth enable flag buffer
 +
|-
 +
| 0x51C69 || 105 || 654 || Null Bluetooth AFH enable flag buffer
 +
|-
 +
| 0x51E69 || 105 || 655 || Null Bluetooth boost enable flag buffer
 +
|-
 +
| 0x52069 || 105 || 656 || Null BLE pairing settings buffer
 +
|-
 +
| 0x52269 || 105 || 657 || Null BLE pairing settings entry count buffer
 +
|-
 +
| 0x52A69 || 105 || 661 || Null external steady clock source ID buffer
 +
|-
 +
| 0x52C69 || 105 || 662 || Null user system clock context buffer
 +
|-
 +
| 0x52E69 || 105 || 663 || Null network system clock context buffer
 +
|-
 +
| 0x53069 || 105 || 664 || Null user system clock automatic correction enabled flag buffer
 +
|-
 +
| 0x53269 || 105 || 665 || Null shutdown RTC value buffer
 +
|-
 +
| 0x53469 || 105 || 666 || Null external steady clock internal offset buffer
 +
|-
 +
| 0x53E69 || 105 || 671 || Null account settings buffer
 +
|-
 +
| 0x55269 || 105 || 681 || Null audio volume buffer
 +
|-
 +
| 0x55669 || 105 || 683 || Null ForceMuteOnHeadphoneRemoved buffer
 +
|-
 +
| 0x55869 || 105 || 684 || Null headphone volume warning count buffer
 +
|-
 +
| 0x55E69 || 105 || 687 || Invalid audio output mode
 +
|-
 +
| 0x56069 || 105 || 688 || Null headphone volume update flag buffer
 +
|-
 +
| 0x56669 || 105 || 691 || Null console information upload flag buffer
 +
|-
 +
| 0x57A69 || 105 || 701 || Null automatic application download flag buffer
 +
|-
 +
| 0x57C69 || 105 || 702 || Null notification settings buffer
 +
|-
 +
| 0x57E69 || 105 || 703 || Null account notification settings entry count buffer
 +
|-
 +
| 0x58069 || 105 || 704 || Null account notification settings buffer
 +
|-
 +
| 0x58E69 || 105 || 711 || Null vibration master volume buffer
 +
|-
 +
| 0x59069 || 105 || 712 || Null NX controller settings buffer
 +
|-
 +
| 0x59269 || 105 || 713 || Null NX controller settings entry count buffer
 +
|-
 +
| 0x59469 || 105 || 714 || Null USB full key enable flag buffer
 +
|-
 +
| 0x5A269 || 105 || 721 || Null TV settings buffer
 +
|-
 +
| 0x5A469 || 105 || 722 || Null EDID buffer
 +
|-
 +
| 0x5B669 || 105 || 731 || Null data deletion settings buffer
 +
|-
 +
| 0x5CA69 || 105 || 741 || Null initial system applet program ID buffer
 +
|-
 +
| 0x5CC69 || 105 || 742 || Null overlay disp program ID buffer
 +
|-
 +
| 0x5CE69 || 105 || 743 || Null IsInRepairProcess buffer
 +
|-
 +
| 0x5D069 || 105 || 744 || Null RequiresRunRepairTimeReviser buffer
 +
|-
 +
| 0x5DE69 || 105 || 751 || Null device timezone location name buffer
 +
|-
 +
| 0x5F269 || 105 || 761 || Null primary album storage buffer
 +
|-
 +
| 0x60669 || 105 || 771 || Null USB 3.0 enable flag buffer
 +
|-
 +
| 0x60869 || 105 || 772 || Null USB Type-C power source circuit version buffer
 +
|-
 +
| 0x61A69 || 105 || 781 || Null battery lot buffer
 +
|-
 +
| 0x62E69 || 105 || 791 || Null serial number buffer
 +
|-
 +
| 0x64269 || 105 || 801 || Null lock screen flag buffer
 +
|-
 +
| 0x64669 || 105 || 803 || Null color set ID buffer
 +
|-
 +
| 0x64869 || 105 || 804 || Null quest flag buffer
 +
|-
 +
| 0x64A69 || 105 || 805 || Null wireless certification file size buffer
 +
|-
 +
| 0x64C69 || 105 || 806 || Null wireless certification file buffer
 +
|-
 +
| 0x64E69 || 105 || 807 || Null initial launch settings buffer
 +
|-
 +
| 0x65069 || 105 || 808 || Null device nickname buffer
 +
|-
 +
| 0x65269 || 105 || 809 || Null battery percentage flag buffer
 +
|-
 +
| 0x65469 || 105 || 810 || Null applet launch flags buffer
 +
|-
 +
| 0x7E869 || 105 || 1012 || Null wireless LAN enable flag buffer
 +
|-
 +
| 0x7FA69 || 105 || 1021 || Null product model buffer
 +
|-
 +
| 0x80E69 || 105 || 1031 || Null NFC enable flag buffer
 +
|-
 +
| 0x82269 || 105 || 1041 || Null ECI device certificate buffer
 +
|-
 +
| 0x82469 || 105 || 1042 || Null E-Ticket device certificate buffer
 +
|-
 +
| 0x83669 || 105 || 1051 || Null sleep settings buffer
 +
|-
 +
| 0x84A69 || 105 || 1061 || Null EULA version buffer
 +
|-
 +
| 0x84C69 || 105 || 1062 || Null EULA version entry count buffer
 +
|-
 +
| 0x85E69 || 105 || 1071 || Null LDN channel buffer
 +
|-
 +
| 0x87269 || 105 || 1081 || Null SSL key buffer
 +
|-
 +
| 0x87469 || 105 || 1082 || Null SSL certificate buffer
 +
|-
 +
| 0x88669 || 105 || 1091 || Null telemetry flags buffer
 +
|-
 +
| 0x89A69 || 105 || 1101 || Null Gamecard key buffer
 +
|-
 +
| 0x89C69 || 105 || 1102 || Null Gamecard certificate buffer
 +
|-
 +
| 0x8AE69 || 105 || 1111 || Null PTM battery lot buffer
 +
|-
 +
| 0x8B069 || 105 || 1112 || Null PTM fuel gauge parameter buffer
 +
|-
 +
| 0x8C269 || 105 || 1121 || Null ECI device key buffer
 +
|-
 +
| 0x8C469 || 105 || 1122 || Null E-Ticket device key buffer
 +
|-
 +
| 0x8D669 || 105 || 1131 || Null speaker parameter buffer
 +
|-
 +
| 0x8EA69 || 105 || 1141 || Null firmware version buffer
 +
|-
 +
| 0x8EC69 || 105 || 1142 || Null firmware version digest buffer
 +
|-
 +
| 0x8EE69 || 105 || 1143 || Null rebootless system update version buffer
 +
|-
 +
| 0x8FE69 || 105 || 1151 || Null Mii author ID buffer
 +
|-
 +
| 0x91269 || 105 || 1161 || Null fatal flags buffer
 +
|-
 +
| 0x92669 || 105 || 1171 || Null auto update enable flag buffer
 +
|-
 +
| 0x93A69 || 105 || 1181 || Null external RTC reset flag buffer
 +
|-
 +
| 0x94E69 || 105 || 1191 || Null push notification activity mode buffer
 +
|-
 +
| 0x96269 || 105 || 1201 || Null service discovery control setting buffer
 +
|-
 +
| 0x97669 || 105 || 1211 || Null error report share permission buffer
 +
|-
 +
| 0x98A69 || 105 || 1221 || Null LCD vendor ID buffer
 +
|-
 +
| 0x99E69 || 105 || 1231 || Null console SixAxis sensor acceleration bias buffer
 +
|-
 +
| 0x9A069 || 105 || 1232 || Null console SixAxis sensor angular velocity bias buffer
 +
|-
 +
| 0x9A269 || 105 || 1233 || Null console SixAxis sensor acceleration gain buffer
 +
|-
 +
| 0x9A469 || 105 || 1234 || Null console SixAxis sensor angular velocity gain buffer
 +
|-
 +
| 0x9A669 || 105 || 1235 || Null console SixAxis sensor angular velocity time bias buffer
 +
|-
 +
| 0x9A869 || 105 || 1236 || Null console SixAxis sensor angular acceleration buffer
 +
|-
 +
| 0x9B269 || 105 || 1241 || Null keyboard layout buffer
 +
|-
 +
| 0x9BA69 || 105 || 1245 || Invalid keyboard layout
 +
|-
 +
| 0x9C669 || 105 || 1251 || Null web inspector flag buffer
 +
|-
 +
| 0x9C869 || 105 || 1252 || Null allowed SSL hosts buffer
 +
|-
 +
| 0x9CA69 || 105 || 1253 || Null allowed SSL hosts entry count buffer
 +
|-
 +
| 0x9CC69 || 105 || 1254 || Null host FS mount point buffer
 +
|-
 +
| 0x9EE69 || 105 || 1271 || Null Amiibo key buffer
 +
|-
 +
| 0x9F069 || 105 || 1272 || Null Amiibo ECQV certificate buffer
 +
|-
 +
| 0x9F269 || 105 || 1273 || Null Amiibo ECDSA certificate buffer
 +
|-
 +
| 0x9F469 || 105 || 1274 || Null Amiibo ECQV BLS key buffer
 +
|-
 +
| 0x9F669 || 105 || 1275 || Null Amiibo ECQV BLS certificate buffer
 +
|-
 +
| 0x9F869 || 105 || 1276 || Null Amiibo ECQV BLS root certificate buffer
 
|-
 
|-
 
| 0x272 || 114 || 1 || Generic error
 
| 0x272 || 114 || 1 || Generic error
Line 629: Line 879:  
| 0x4A80 || 128 || 37 || Title-ID not found. Caused by code 0x410 when applet launch fails
 
| 0x4A80 || 128 || 37 || Title-ID not found. Caused by code 0x410 when applet launch fails
 
|-
 
|-
| 0x3EC80 || 128 || 502 || must close IStorageAccessor before pushing IStorage
+
| 0x3E880 || 128 || 500 || Invalid IStorage size (negative?)
 +
|-
 +
| 0x3EC80 || 128 || 502 || IStorage has already been opened by another accessor
 +
|-
 +
| 0x3EE80 || 128 || 503 || IStorage Read/Write out-of-bounds
 +
|-
 +
| 0x3FE80 || 128 || 511 || IStorage opened as wrong type (data opened as transfermem, transfermem opened as data)
 +
|-
 +
| 0x4B080 || 128 || 600 || Failed to allocate memory for IStorage
 
|-
 
|-
 
| 0x59080 || 128 || 712 || Thread stack pool exhausted (out of memory)
 
| 0x59080 || 128 || 712 || Thread stack pool exhausted (out of memory)
Line 651: Line 909:  
| 0x299 || 153 || 1 || Invalid audio device
 
| 0x299 || 153 || 1 || Invalid audio device
 
|-
 
|-
| 0x499 || 153 || 2 || Invalid buffer address / bad input?
+
| 0x499 || 153 || 2 || Operation couldn't complete successfully
 
|-
 
|-
 
| 0x699 || 153 || 3 || Invalid sample rate
 
| 0x699 || 153 || 3 || Invalid sample rate
 +
|-
 +
| 0x899 || 153 || 4 || Buffer size too small
 
|-
 
|-
 
| 0x1099 || 153 || 8 || Too many buffers are still unreleased
 
| 0x1099 || 153 || 8 || Too many buffers are still unreleased
 
|-
 
|-
 
| 0x1499 || 153 || 10 || Invalid channel count
 
| 0x1499 || 153 || 10 || Invalid channel count
 +
|-
 +
| 0x40299 || 153 || 513 || Invalid/Unsupported operation
 +
|-
 +
| 0xC0099 || 153 || 1536 || Invalid handle
 
|-
 
|-
 
| 0xC0899 || 153 || 1540 || Audio output was already started
 
| 0xC0899 || 153 || 1540 || Audio output was already started
92

edits

Navigation menu