Lines Matching refs:arc
99 static FSResult CustomRom_ReadCallback(FSArchive *arc, void *dst, u32 pos, u32 size) in CustomRom_ReadCallback() argument
101 (void)arc; in CustomRom_ReadCallback()
105 static FSResult CustomRom_WriteCallback(FSArchive *arc, const void *src, u32 pos, u32 size) in CustomRom_WriteCallback() argument
107 (void)arc; in CustomRom_WriteCallback()
157 p_entry->dir_id.arc = file->arc; in CustomRom_ArchiveProc()
166 p_entry->file_id.arc = file->arc; in CustomRom_ArchiveProc()
221 static void CreateCustomArchive(FSArchive *arc, const char *name) in CreateCustomArchive() argument
223 FS_InitArchive(arc); in CreateCustomArchive()
224 if (!FS_RegisterArchiveName(arc, name, (u32)STD_GetStringLength(name))) in CreateCustomArchive()
228 FS_SetArchiveProc(arc, CustomRom_ArchiveProc, (u32)FS_ARCHIVE_PROC_ALL); in CreateCustomArchive()
231 if (!FS_LoadArchive(arc, 0, NULL, 0, NULL, 0, CustomRom_ReadCallback, CustomRom_WriteCallback)) in CreateCustomArchive()