FS:EnumerateExtSaveData: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Profi200 (talk | contribs)
Steveice10 (talk | contribs)
m Use common types.
 
(3 intermediate revisions by 2 users not shown)
Line 9: Line 9:
|-
|-
| 1
| 1
| List buffee size?
| Output ID Buffer Size
|-
|-
| 2
| 2
| [[Mediatypes|Mediatype]]?
| [[Filesystem_services#MediaType|Media Type]]
|-
|-
| 3
| 3
| ?
| ID Entry Size (usually 4 or 8)
|-
|-
| 4
| 4
| Always 0?
| u8, 0 = Non-Shared, 1 = Shared
|-
|-
| 5
| 5
| <nowiki>(listBufSize<<4) | 0xC?</nowiki>
| (outputBufferSize << 4) <nowiki>|</nowiki> 0xC
|-
|-
| 6
| 6
| List buffer pointer?
| Output Pointer
|}
|}


Line 37: Line 37:
|-
|-
| 1
| 1
| Resultcode
| Result code
|-
|-
| 2
| 2
| Written ID count?
| Written ID Count
|-
| 3
| ?
|-
| 4
| Out data pointer
|}
|}

Latest revision as of 23:37, 17 October 2015

Request

Index Word Description
0 Header code [0x8550102]
1 Output ID Buffer Size
2 Media Type
3 ID Entry Size (usually 4 or 8)
4 u8, 0 = Non-Shared, 1 = Shared
5 (outputBufferSize << 4) | 0xC
6 Output Pointer

Response

Index Word Description
0 Header code
1 Result code
2 Written ID Count