Difference between revisions of "FSFile:Read"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x080200C2] |- | 1 | File offset lower word |- | 2 | File offset upper word |- | 3...")
 
m (Type nit.)
Line 8: Line 8:
 
| Header code [0x080200C2]
 
| Header code [0x080200C2]
 
|-
 
|-
| 1
+
| 1-2
| File offset lower word
+
| u64, File Offset
|-
 
| 2
 
| File offset upper word
 
 
|-
 
|-
 
| 3
 
| 3
Line 18: Line 15:
 
|-
 
|-
 
| 4
 
| 4
| (Size<<4)  <nowiki>|</nowiki> 12
+
| (Size << 4)  <nowiki>|</nowiki> 0xC
 
|-
 
|-
 
| 5
 
| 5
| Data ptr
+
| Data Pointer
 
|}
 
|}
  

Revision as of 22:40, 17 October 2015

Request

Index Word Description
0 Header code [0x080200C2]
1-2 u64, File Offset
3 Size
4 (Size << 4) | 0xC
5 Data Pointer

Response

Index Word Description
0 Header code
1 Resultcode
2 Total read data