#include <revolution/dvd.h> DVDDiskID* DVDGenerateDiskID(DVDDiskID* id, const char* game, const char* company, u8 diskNum, u8 version);
| id | Pointer to the disc ID to be set. |
|---|---|
| game | Game name (4 bytes in ASCII and a null character). |
| company | Company name (2 bytes in ASCII and a null character). |
| diskNum | Disc number (in BCD). First disc = 0, second disc = 1, and so on. |
| version | Game version (in BCD). First version = 0, second version = 1, and so on. |
Returns id.
This utility function generates disc IDs. If you specify each structure member (game code, company code, disc number, and version), the DVDGenerateDiskID function will set each member to id.
2006/03/01 Initial version.
CONFIDENTIAL