Difference between revisions of "CfgS:SetConfigInfoBlk4"

From 3dbrew
Jump to navigation Jump to search
(Pitfall: the parameter order is different from GetConfigInfoBlk)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x04020082]
+
| Header code [0x04020082] ("cfg:i": 0x04020082 / 0x08020082)
 
|-
 
|-
 
| 1
 
| 1
| Size
+
| BlkID
 
|-
 
|-
 
| 2
 
| 2
| BlkID
+
| Size
 
|-
 
|-
 
| 3
 
| 3

Latest revision as of 11:00, 12 June 2016

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.