GXGetFifoWrap

Syntax

#include <revolution/gx.h>

GXBool GXGetFifoWrap( const GXFifoObj* fifo );

Arguments

fifo A pointer to the FIFO structure.

Return Values

This function returns the wrap information of the specified FIFO object. This function returns GX_TRUE if wrapped; otherwise, it returns GX_FALSE.

Description

This function returns the wrap information of the specified FIFO object (whether writing data to the FIFO has returned to the base pointer position after going around in the buffer). This can be used to determine write overflow to the CPU FIFO in multi-buffer mode. For the actual procedure, use this function after obtaining the state in the FIFO object using GXGetCPUFifo.

See Also

GXGetCPUFifo, GXSetCPUFifo

Revision History

2006/03/01 Initial version.


CONFIDENTIAL