CfgI:CreateConfigInfoBlk

From 3dbrew
Revision as of 04:28, 3 August 2014 by Yellows8 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x080400C2] |- | 1 | BlkID |- | 2 | Size |- | 3 | u16 block flags |- | 4 | (Size<<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x080400C2]
1 BlkID
2 Size
3 u16 block flags
4 (Size<<4) | 10
5 Input data pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This creates a new info-blk in the Cfg savegame buffer in memory. The new block is added to the end of the list of entries. This only writes to the buffer in memory, the NAND savegame is not updated. The value for the flags field must be one of the following, otherwise an error is returned: 8, 12, 10, or 14.