#include <revolution/card.h>
CARDSetIconSpeed(stat, n, f) \ ((stat)->iconSpeed = \ (u16) (((stat)->iconSpeed & ~(CARD_STAT_SPEED_MASK << (2 * (n)))) | ((f) << (2 * (n)))))
|
Pointer to a CARDStat structure. |
|||||||||
|
Sequence number of the icon animation. | |||||||||
|
Three wait time lengths can be set between each animation frame: CARD_STAT_SPEED_FAST, CARD_STAT_SPEED_MIDDLE, or CARD_STAT_SPEED_SLOW. The speed is determined by the screen refresh rate (60Hz or 50Hz). The wait time lasts the following number of refresh frames:
Use CARD_STAT_SPEED_END to terminate the animation if you are using 8 or fewer icons. |
None.
Sets the speed of the Memory Card icon animation to the CARDStat structure.
Note: This function is provided for debugging. Do not use in programs.
2006/03/01 Initial version.
CONFIDENTIAL