FSPXI:StartDeviceMoveAsSource

From 3dbrew
Revision as of 13:01, 22 December 2024 by TimmSkiller (talk | contribs)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code, starting with 3.0.0-5: [0x004B0000]

Response

Index Word Description
0 Header code
1 Result code
2-5 This is from the stored 0x10-byte movable.sed keyY hash.
6-9 This is 0x10-bytes of random data.

Description

An u8 state flag must be zero when using this command, otherwise error-code 0xE02046EE is returned. This state flag is then set to value 1. The stored movable.sed keyY hash is then loaded, then 0x10-bytes of data is randomly generated.

The random data is used during system transfers for encrypting raw System Save Data archives (and probably more). See System_Transfer#System_Save_Data_Transfer for details.