Difference between revisions of "AMPXI:WriteTWLSavedata"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
|- | |- | ||
| 5 | | 5 | ||
− | | u8, section | + | | u8, section type. Valid values are 5, 6, and 7. 5 = "public.new". |
|- | |- | ||
| 6 | | 6 |
Revision as of 23:44, 7 January 2016
Request
Index Word | Description |
---|---|
0 | Header code [0x00460182] |
1 | TWL TitleID lower word |
2 | TWL TitleID upper word |
3 | Input buffer size |
4 | u32 filepos for the NAND save-image file, for writing. |
5 | u8, section type. Valid values are 5, 6, and 7. 5 = "public.new". |
6 | u8 Operation |
7 | (Size<<8) | 6 |
8 | Ptr for the input buffer |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description
This writes the specified input plaintext buffer data to the specified TWL-NAND title raw savedata image. The file which is written to in NAND depends on the section_index(public.sav, banner.sav, ...). This actually writes to "public.new" for "public.sav", it's unknown how "public.sav" is updated with "public.new".