#ifndef ROM_H #define ROM_H #include #include tDSiHeader* getRomHeader(char const* fpath); tNDSBanner* getRomBanner(char const* fpath); bool getGameTitle(tNDSBanner* b, char* out, bool full); bool getGameTitlePath(char const* fpath, char* out, bool full); bool getRomLabel(tDSiHeader* h, char* out); bool getRomCode(tDSiHeader* h, char* out); bool getTitleId(tDSiHeader* h, u32* low, u32* high); void printRomInfo(char const* fpath); unsigned long long getRomSize(char const* fpath); bool romIsCia(char const* fpath); bool isDsiHeader(tDSiHeader* h); #endif