Common types, macros, and standard library includes used throughout AnimaEngine.
unsigned int u32
Definition: common.h:16
unsigned char u8
Definition: common.h:14
int NdsHeader_IsSequel(const NdsHeader *header)
Checks if the target ROM is Black 2 or White 2.
Definition: nds_header.c:69
void NdsHeader_Print(const NdsHeader *header, size_t rom_size)
Debug prints ROM header values to stdout.
Definition: nds_header.c:39
int NdsHeader_IsValidGame(const NdsHeader *header)
Validates if the ROM matches known Gen 5 Pokemon game serial codes.
Definition: nds_header.c:56
int NdsHeader_Parse(const u8 *rom, size_t rom_size, NdsHeader *out_header)
Parses essential header entries from a raw ROM buffer.
Definition: nds_header.c:4
struct NdsHeader NdsHeader
Representation of subset of core metadata field descriptors inside an NDS ROM header block.