FSFile:Write

From 3dbrew
Revision as of 23:41, 17 October 2015 by Steveice10 (talk | contribs) (Type nit.)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x08030102]
1-2 u64, File Offset
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) | 0xA
6 Data Pointer

Response

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