Changes

Jump to navigation Jump to search
681 bytes added ,  02:54, 22 November 2017
Line 517: Line 517:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || Read
+
| 0 || [[#Read]]
 
|-
 
|-
| 1 || GetEntryCount
+
| 1 || [[#GetEntryCount]]
 +
|}
 +
 
 +
== Read ==
 +
Takes a type-0x6 output buffer and an input u64. Unknown what the u64 is for, doesn't(?) seem to affect output. Returns an output u64(?) for the total number of read entries, this is 0 when no more entries are available.
 +
 
 +
The output buffer contains the read array of [[#DirectoryEntry]]. This doesn't include entries for "." and "..".
 +
 
 +
== GetEntryCount ==
 +
Returns an u64 for the total number of readable entries.
 +
 
 +
= DirectoryEntry =
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x300 || Path
 +
|-
 +
| 0x300 || 0x4 || ?
 +
|-
 +
| 0x304 || 0x4 || u32 type: 0 = directory, 1 = file.
 +
|-
 +
| 0x308 || 0x8? || Filesize, 0 for directories.
 
|}
 
|}
  

Navigation menu