#include <revolution/dvd.h>
DVDDiskID* DVDGenerateDiskID(DVDDiskID* id, const char* game, const char* company, u8 diskNum,
u8 version);
id |
Pointer to disc ID to 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,... |
version |
Game version (in BCD). first version = 0, second version = 1,... |
Returns id.
This utility function generates disc IDs. If you specify each structure member (game name, company name, disc number, and version), the DVDGenerateDiskID function sets each member to id.
2006/03/01 Initial version.
CONFIDENTIAL