Changes

239 bytes added ,  09:08, 10 February 2018
Line 458: Line 458:     
== SetSdCardEncryptionSeed ==
 
== SetSdCardEncryptionSeed ==
Takes 0x10-bytes of input.
+
Takes in the 0x10 byte SD card encryption seed, and loads it into FS-module state.
   −
Appears to be used to load the seed into FS-module state, since FS-module itself doesn't seem to have file-reading code to handle this itself.
+
[[NS_Services|NS]]-module reads the 0x10 bytes from SdCard:/Nintendo/Contents/private, and compares them to the first 0x10 bytes of the ns_appman:/private (in [[Flash_Filesystem#System_Savegames|system savedata]] 0x8000000000000043). If they match, NS calls this command using bytes 0x10-0x20 from ns_appman:/private. The rest of this file (0x1F0 bytes total) is (usually/always?) all-zero.
 
  −
[[NS_Services|NS]]-module uses this with data read from a file.
      
== SetGlobalAccessLogMode ==
 
== SetGlobalAccessLogMode ==