GXGetGPFifo

Syntax

#include <revolution/gx.h>

GXBool GXGetGPFifo( GXFifoObj* fifo );

Arguments

fifo A pointer to the FIFO structure.

Return Values

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

Description

This function gets the current GP FIFO state in the structure object specified by fifo. This function returns GX_TRUE if the status was correctly obtained; otherwise, it returns GX_FALSE if the status could not be obtained because the GP FIFO had 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. (In the GAMECUBE SDK, this function merely returned a pointer to the GXFifoObj structure set by the GXSetGPFifo function in the previous cycle.)

See Also

GXSetGPFifo

Revision History

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


CONFIDENTIAL