Difference between revisions of "FS:CreateFile"

From 3dbrew
Jump to navigation Jump to search
(Added CreateFile using information from Steel Diver: Sub Wars and Citra)
 
m (Fixed CreateFile command header)
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x08090182]
+
| Header code [0x08080202]
 
|-
 
|-
 
| 1
 
| 1

Revision as of 09:00, 10 December 2014

Request

Index Word Description
0 Header code [0x08080202]
1 Unknown (Always zero?)
2 Archive handle lower word
3 Archive handle upper word
4 File LowPath.Type
5 File LowPath.Size
6 Unknown (Always zero?)
7 Unknown (Not a pointer)
8 Unknown (Always zero?)
9 (File LowPath.Size<<14) | 2
10 File LowPath.Data pointer

Response

Index Word Description
0 Header code
1 Resultcode