#include <nitro/fs.h>
BOOL FS_CreateFileFromRom(FSFile *p_file, u32 offset, u32 size);
p_file | Address of the FSFile structure. |
offset | Offset for start of CARD-ROM region for the read. |
size | Byte size of the target region from the offset. |
TRUE if the file opens properly. FALSE otherwise.
Treats the specified CARD-ROM region as a temporary file and opens the file. The file opened by this function supports only these following functions:
For further information, see the explanation for theROM Archive
function.
This function cannot be called from the interrupt handler (IRQ mode).
Also note that in some cases processing may not end if interrupts are left prohibited.
06/28/2005 Initial version.