GXGetGPFifo

C Specification

#include <revolution/gx.h>
GXBool GXGetGPFifo( GXFifoObj* fifo );

Arguments

fifo A pointer to the FIFO structure

Return Values

GX_TRUE if the FIFO status could be obtained; otherwise, GX_FALSE.

Description

This function gets the current CPU FIFO state in the structure object specified by fifo. This function returns GX_TRUE if data could be obtained; otherwise, it returns GX_FALSE if data could not be obtained because the GP FIFO has not been set.

Note: In contrast to the function of the same name in the GAMECUBE SDK, this function directly gets the current state of the GP FIFO that is being used. (Under the GAMECUBE SDK, only a pointer to the GXFifoObj structure that was last set by GXSetGPFifo was returned.)

See Also

GXSetGPFifo

Revision History

2007/03/05 Added a note about the difference with the Nintendo GameCube SDK.
2006/03/01 Initial version.


CONFIDENTIAL