mirror of
https://github.com/rvtr/TDT.git
synced 2025-10-31 13:51:07 -04:00
24 lines
620 B
C
24 lines
620 B
C
#ifndef ROM_H
|
|
#define ROM_H
|
|
|
|
#include <nds/ndstypes.h>
|
|
#include <nds/memory.h>
|
|
|
|
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 |