Difference between revisions of "FSPXI:HasDirectory"

From 3dbrew
Jump to navigation Jump to search
(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...")
 
(No difference)

Latest revision as of 12:07, 8 June 2022

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.