mirror of
https://github.com/pj64team/Project64-Legacy.git
synced 2026-04-02 20:55:40 +00:00
Rom Browser and Rom Information have been updated Common will contain the one unified place to build the string.
25 lines
986 B
C
25 lines
986 B
C
#ifndef ROMTOOLS_H
|
|
#define ROMTOOLS_H
|
|
|
|
#define Unknown_Region 0
|
|
#define NTSC_Region 1
|
|
#define PAL_Region 2
|
|
|
|
void CountryCodeToString (char string[], BYTE Country, int length);
|
|
void CountryCodeToShortString(char string[], BYTE Country, int length);
|
|
int GetRomRegion (BYTE *RomData);
|
|
int GetRomRegionByCode (BYTE CountryCode);
|
|
void GetRomName (char *Name, BYTE *RomData);
|
|
void GetRomFullName(char* FullName, BYTE* RomData, char* FullPath);
|
|
void GetRomCartID (char *ID, BYTE *RomData);
|
|
void GetRomManufacturer (BYTE *Manufacturer, BYTE *RomData);
|
|
void GetRomCountry (BYTE *Country, BYTE *RomData);
|
|
void GetRomCRC1 (DWORD *Crc1, BYTE *RomData);
|
|
void GetRomCRC2 (DWORD *Crc2, BYTE *RomData);
|
|
int GetRomCicChipID (BYTE *RomData);
|
|
void GetRomCicChipString(BYTE* RomData, char String[], int length);
|
|
void BuildRomCicChipString(int ID, char String[], int length, int region);
|
|
void RomID (char *ID, BYTE *RomData);
|
|
void RomIDPreScanned (char *ID, DWORD *CRC1, DWORD *CRC2, BYTE *Country);
|
|
|
|
#endif |