libctru
v2.4.1
|
RomFS driver. More...
Go to the source code of this file.
Data Structures | |
struct | romfs_header |
RomFS header. More... | |
struct | romfs_dir |
RomFS directory. More... | |
struct | romfs_file |
RomFS file. More... | |
Functions | |
Result | romfsMountSelf (const char *name) |
Mounts the Application's RomFS. More... | |
Result | romfsMountFromFile (Handle fd, u32 offset, const char *name) |
Mounts RomFS from an open file. More... | |
Result | romfsMountFromCurrentProcess (const char *name) |
Mounts RomFS using the current process host program RomFS. More... | |
Result | romfsMountFromTitle (u64 tid, FS_MediaType mediatype, const char *name) |
Mounts RomFS from the specified title. More... | |
Result | romfsUnmount (const char *name) |
Unmounts the RomFS device. | |
static Result | romfsInit (void) |
Wrapper for romfsMountSelf with the default "romfs" device name. | |
static Result | romfsExit (void) |
Wrapper for romfsUnmount with the default "romfs" device name. | |
RomFS driver.
Result romfsMountFromCurrentProcess | ( | const char * | name | ) |
Mounts RomFS using the current process host program RomFS.
name | Device mount name. |
Mounts RomFS from an open file.
fd | FSFILE handle of the RomFS image. |
offset | Offset of the RomFS within the file. |
name | Device mount name. |
Result romfsMountFromTitle | ( | u64 | tid, |
FS_MediaType | mediatype, | ||
const char * | name | ||
) |
Mounts RomFS from the specified title.
tid | Title ID |
mediatype | Mediatype |
name | Device mount name. |
Result romfsMountSelf | ( | const char * | name | ) |
Mounts the Application's RomFS.
name | Device mount name. |