User contributions
30 November 2018
Error codes
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)
+5,058
Settings services
Fix typo that was accidentally made from my last edit.
m-1
Settings services
Document the available region codes based off how they're used from within the erpt module. These are the same values, given erpt calls into the settings module to retrieve the region code and uses it to retrieve a string representation of the region
+396
Error codes
Add two more settings error codes related to null buffers/pointers
+143
Error codes
Add settings error for null keyboard layout buffers (forgot to add this when adding the other ones)
+59
Error codes
Add quite a number of settings module error codes used for indicating invalid preconditions (notably, null pointer/buffer inputs)
+1,703
19 November 2018
14 November 2018
11 November 2018
10 November 2018
Error codes
Add FS error codes for insufficient space related to BIS partitions and SD cards (these are stored within an array in rodata next to the FAT format error codes)
+357
Error codes
Add FS error codes for invalid FAT formats for BIS storage partitions
+301
Savegames
Update ExtraData structure. Adds the commit ID field. Also the unknown field appears to be used for containing flags
+25
9 November 2018
8 November 2018
Error codes
Add FS error code for invalid save data filesystem magic
+96
Error codes
Clarify FS error 0x202 and 0x402. These indeed seem to apply to both files and directories, so we can simplify this to just be an error about a path not existing or existing when it shouldn't be.
-23
Error codes
Add more error codes related to FAT filesystems
+295
Filesystem services
Update Save Struct and SaveDataInfo. Adds the precedence and save data index members. These are used in conjunction with save data filtering
+378
7 November 2018
31 October 2018
Error codes
Correct description of error code 1 for HIPC. This seems to actually signify an unsupported operation, rather than a marshaling error
-10
Error codes
Add HIPC error code for an unknown request type
+50
Error codes
Amend the description of kernel error 0x10601. This is actually used to signify cases where a port is closed when it shouldn't be/isn't expected to be.
-15
Error codes
Add CMIF error code for invalid dispatch IDs. This is usually the tentative error code set before the dispatch jump tables
+57
30 October 2018
29 October 2018
Error codes
Clarify error code 0x7601. This is used in thread and address arbiter code. In particular, address arbiter code within svcWaitForAddress checks if the thread is dead/going to die before actually performing a wait operation.
+18
Error codes
Add FS error code for unimplemented behavior. This is returned by a few member functions within the FS code.
+53
Error codes
Add FS error codes for when directories or files aren't closed when they should be (used in FileSystemAccessor's destructor; again, kudos to Nintendo for full strings and log calls)
+97
Error codes
Add FS error codes related to allocators already being registered/used. Found in SetAllocators (courtesy to Nintendo for leaving the log calls and strings in the binary)
+120
Error codes
Add OS error code that signifies the OS is busy and OS code for signifying an invalid parameter (based off observation, these are mostly returned within OS allocation functions)
+74
Error codes
Add error code for situation where CMIF domain entries can't be reserved
+52
28 October 2018
Error codes
Add OS error code used to signify out of resource conditions. This seems to be returned if the OS is unable to allocate a TLS slot for thread resources
+42
Error codes
Add OS error code used to signify out of memory conditions
+39
Error codes
Add error code for invalid CMIF header sizes.
+55
24 October 2018
Error codes
Kernel error 0xE601 is also used to signify an invalid pointer. Particularly so in svcReplyAndReceive, and svcWaitSynchronization where this is returned if a given address isn't within a usable range.
+16
Error codes
Add FS error code for invalid FAT file numbers
+55
23 October 2018
21 October 2018
Error codes
Add FS error code for invalid character values
+49
Error codes
Add error code signifying a bad FAT BPB
+69
20 October 2018
Error codes
Add error codes relating to in/out object count for CMIF-related code
+109
Error codes
Add error code for invalid CMIF input headers (also adjust the other error code for output headers to match)
+56
19 October 2018
Error codes
Add error code for SD card memory allocation failures
+69
Error codes
Add another error code for the HIPC module
+57