CARDSetIconFormat

C Specification

#include <revolution/card.h>
#define CARDSetIconFormat(stat, n, f) \
((stat)->iconFormat = \
(u16) (((stat)->iconFormat & ~(CARD_STAT_ICON_MASK  << (2 * (n)))) | ((f) << (2 * (n)))))

Arguments

stat Pointer to a CARDStat structure.
n Sequence number of the icon animation.
f Icon format. CARD_STAT_ICON_RGB5A or CARD_STAT_ICON_C8C8 and RGB5A can be intermixed in the animation; however, C8 must share the same CLUT.

Return Values

None.

Description

Sets the Memory Card icon format to the CARDStat structure.

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

See Also

Revision History

03/01/2006 Initial version.