FSFile:Write: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x08030102] |- | 1 | File offset lower word |- | 2 | File offset upper word |- | 3..."
 
No edit summary
Line 18: Line 18:
|-
|-
| 4
| 4
| Flush flags
| Flush flags: 0 = don't flush, 0x10001 = enable flush. Note that using invalid flush flags may corrupt the filesystem for this archive.
|-
|-
| 5
| 5

Revision as of 23:50, 4 October 2013

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