#include <nitro/mb.h>
BOOL MB_RegisterFile(const MBGameRegistry *game_reg, const void *buf);
This function registers the specified program file on the download program list.
The parent can simultaneously download game programs up to MB_MAX_FILE.
game_reg |
Pointer to the MBGameRegistry structure where the program information to register is saved. |
buf |
Pointer to the memory where the extracted segment is saved. Get the segment data with the MB_ReadSegment function. When the function succeeds, the memory specified here is used internally until the MB_UnregisterFile function is called. |
This function returns TRUE when the program registers correctly. Otherwise, it returns FALSE.
MBGameRegistry,
MB_GetSegmentLength,
MB_ReadSegment,
MB_UnregisterFile
09/09/2004 Added description regarding the MB_UnregisterFile function.
08/09/2004 Initial version