FSFile:Write

From 3dbrew
Revision as of 23:50, 4 October 2013 by Yellows8 (talk | contribs)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x08030102]
1 File offset lower word
2 File offset upper word
3 Size
4 Flush flags: 0 = don't flush, 0x10001 = enable flush. Note that using invalid flush flags may corrupt the filesystem for this archive.
5 (Size<<4) | 10
6 Data ptr

Response

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