MCPcopy Create free account
hub / github.com/devkitPro/libctru / romfs_free

Function romfs_free

libctru/source/romfs_dev.c:166–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166static void romfs_free(romfs_mount *mount)
167{
168 FSFILE_Close(mount->fd);
169 romfs_remove(mount);
170 free(mount->fileTable);
171 free(mount->fileHashTable);
172 free(mount->dirTable);
173 free(mount->dirHashTable);
174 free(mount);
175}
176
177Result romfsMountFromFile(Handle fd, u32 offset, const char *name)
178{

Callers 2

romfsMountFromFileFunction · 0.85
romfsUnmountFunction · 0.85

Calls 2

FSFILE_CloseFunction · 0.85
romfs_removeFunction · 0.85

Tested by

no test coverage detected