libdragon
Loading...
Searching...
No Matches
Data Structures | Macros | Functions

ROM bundle support. More...

Data Structures

struct  header_t
 ROMPAK TOC header. More...
 
struct  entry_t
 ROMPAK TOC entry. More...
 

Macros

#define TOC_MAGIC   0x544F4330
 Magic ID "TOC0".
 

Functions

uint32_t rompak_search_ext (const char *ext)
 Search a file in the rompak by extension.
 

Detailed Description

ROM bundle support.


Data Structure Documentation

◆ header_t

struct header_t

ROMPAK TOC header.

Data Fields
uint32_t magic Magic (TOC_MAGIC)
uint32_t toc_size Size of the TOC in bytes.
uint32_t entry_size Size of an entry of the TOC (in bytes)
uint32_t num_entries Number of entries in the TOC.

◆ entry_t

struct entry_t

ROMPAK TOC entry.

Data Fields
uint32_t offset Offset of the file in the ROM.
char name[] Name of the file.