libmsx
C library for MSX
|
APIs for looking up a resource in banked memory by name. More...
Data Structures | |
struct | ResourceIndex |
Index record of an embedded resource. More... | |
Typedefs | |
typedef struct ResourceIndex | ResourceIndex |
Index record of an embedded resource. | |
Functions | |
const ResourceIndex * | resource_find (const char *path) |
Find an embedded resource by name. | |
APIs for looking up a resource in banked memory by name.
Banked memory is treated as a ROM with one large address space, and as storage of named embedded resources.
struct ResourceIndex |
Index record of an embedded resource.
Definition at line 45 of file resources.h.
Data Fields | ||
---|---|---|
bmemptr_t | offset | Address of the resource in banked memory. |
uint32_t | size | Size of the resource. |
const char * | path | Path / file name of the resource. |
typedef struct ResourceIndex ResourceIndex |
Index record of an embedded resource.
const ResourceIndex * resource_find | ( | const char * | path | ) |
Find an embedded resource by name.
path | path/file name of the resource. |