mirror of
https://github.com/rvtr/TDT.git
synced 2025-10-31 13:51:07 -04:00
22 lines
532 B
C
22 lines
532 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);
|
|
|
|
void printRomInfo(char const* fpath);
|
|
|
|
unsigned long long getRomSize(char const* fpath);
|
|
|
|
bool romIsSrl(char const* fpath);
|
|
|
|
#endif |