Difference between revisions of "CfgS:SetConfigInfoBlk4"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x04020082] |- | 1 | Size |- | 2 | BlkID |- | 3 | (Size<<4) <nowiki>|</nowiki> 10...")
 
(Pitfall: the parameter order is different from GetConfigInfoBlk)
 
(2 intermediate revisions 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
Line 35: Line 35:
  
 
=Description=
 
=Description=
This writes data to the Cfg NAND [[Config_Savegame|savegame]], 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 writes data to the Cfg [[Config_Savegame|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.

Latest revision as of 12: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.