CfgS:SetConfigInfoBlk4

From 3dbrew
Revision as of 11:00, 12 June 2016 by Wwylele (talk | contribs) (Pitfall: the parameter order is different from GetConfigInfoBlk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x04020082] ("cfg:i": 0x04020082 / 0x08020082)
1 BlkID
2 Size
3 (Size<<4) | 10
4 Input data pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This writes data to the Cfg savegame buffer in memory, the specified block must have flags bitmask 0x4 set. The above input size field must match the size field for the corresponding block entry. This only writes to the buffer in memory, the NAND savegame is not updated.