Difference between revisions of "FS:EnumerateExtSaveData"

From 3dbrew
Jump to navigation Jump to search
m (Use common types.)
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| List buffer 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 22:37, 17 October 2015

Request[edit]

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[edit]

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