FSPXI:HasFile

From 3dbrew
Revision as of 11:00, 8 June 2022 by TimmSkiller (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00130102] |- | 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 [0x00130102]
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 file

Description[edit]

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