#include <nitro/fs.h>
static inline FSArchive* FS_GetAttachedArchive(const FSFile *p_file);
Returns a pointer to the archive associated with the specified file.
Returns the pointer to the archive if it exists. The value is undefined when calling this function to the FSFile structure without the file information or the directory location.
p_file |
Address of the FSFile structureIt must retain the file information or the directory location. |
Returns a pointer to the archive associated with the specified file.
07/13/2004 Initial version