CECDU:OpenAndRead: Difference between revisions
Jump to navigation
Jump to search
m Guiand moved page CECDU:ReadSavedData to CECDU:OpenAndRead |
No edit summary |
||
| Line 12: | Line 12: | ||
|- | |- | ||
| 2 | | 2 | ||
| NCCH Program ID | | NCCH Program ID | ||
|- | |- | ||
| 3 | | 3 | ||
| | | [[CECD_Services#CecDataPathType|Path type]] | ||
|- | |- | ||
| 4 | | 4 | ||
Revision as of 23:05, 16 June 2016
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x00120104] |
| 1 | buffer size (unused) |
| 2 | NCCH Program ID |
| 3 | Path type |
| 4 | ? |
| 5 | 0x20 |
| 7 | (buffer size << 4) | 0xC |
| 8 | buffer |
Response
| Index Word | Description |
|---|---|
| 0 | Header code |
| 1 | Result code |
| 2 | Total bytes read |
Notes
This reads to the buffer some data stored in "data:/CEC/<file>" (where "data:/" is mapped to the SystemSaveData archive). <file> is determined by the "data type" argument.