Filesystem services: Difference between revisions

No edit summary
No edit summary
Line 507: Line 507:


== GetEntryType ==
== GetEntryType ==
Takes a type-0x9 input buffer for the path and returns an output u32 [[#DirectoryEntryType]].
Takes a type-0x9 input buffer for the path and returns [[#DirectoryEntryType]] as an output u32.


==OpenDirectory==
==OpenDirectory==
Line 548: Line 548:
| 0x300 || 0x4 || ?
| 0x300 || 0x4 || ?
|-
|-
| 0x304 || 0x4 || [[#DirectoryEntryType]]
| 0x304 || 0x1 || [[#DirectoryEntryType]]
|-
| 0x305 || 0x3 || Padding?
|-
|-
| 0x308 || 0x8? || Filesize, 0 for directories.
| 0x308 || 0x8? || Filesize, 0 for directories.
Line 554: Line 556:


= DirectoryEntryType =
= DirectoryEntryType =
u32 type: 0 = directory, 1 = file.
s8 type: 0 = directory, 1 = file.


= IFile =
= IFile =