FSPXI:HasDirectory

From 3dbrew
Revision as of 11:07, 8 June 2022 by TimmSkiller (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00140102] |- | 1 | Archive handle lower word |- | 2 | Archive handle upper wo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x00140102]
1 Archive handle lower word
2 Archive handle upper word
3 Path type
4 Path size
5 (Path size << 8) | 6
6 Path data pointer

Response[edit]

Index Word Description
0 Header code
1 Result code
2 u8, has directory

Description[edit]

Checks whether or not a directory exists in the given archive. The output u8 is set to 1 if the directory exists, and to 0 if the directory does not exist.