CARDSetIconAddress

C Specification

#include <revolution/card.h>
#define CARDSetIconAddress(stat, addr)     ((stat)->iconAddr = (u32)(addr))

Arguments

stat Pointer to a CARDStat structure.
addr Offset from the starting point in memory.

Return Values

None.

Description

This function sets the banner and icon offset to the CARDStat structure. If there is a banner, the offset must be set to the banner. Icons must directly follow a banner in memory space. If there is no banner, addr must be set to the starting point of the icons.

Note: addr must be set to 0xffffffff or to a value less than CARD_READ_SIZE. At least one icon is required in a game file.

Note: This function is provided for debugging. Do not use in programs.

See Also

Revision History

2006/03/01 Initial version.


CONFIDENTIAL