GXS_LoadBGExtPltt


C Specification

#include <nitro/gx/gx_load.h>
void GXS_LoadBGExtPltt(const void *pSrc, u32 destSlotAddr, u32 szByte);

Description

This function uses DMA to transfer BG palette data to the sub 2D Engine BG Extended palette. The transfer destination address (in the BG Extended palette) can be specified. The DMA channel that is used is GX_DMAID (defined in gxcommon.h). Both destSlotAddr and szByte must be 4-byte aligned. Call between GXS_BeginLoadBGExtPltt and GXS_EndLoadBGExtPltt.

Notes:

Arguments

pSrc Pointer to transfer source
destSlotAddr Address to inside of the transfer source BG Extended palette slot
szByte Transfer size (in bytes)

Return Values

None

See Also

GXS_BeginLoadBGExtPltt, GXS_EndLoadBGExtPltt

Revision History

03/01/2004 Warning on restrictions on placing palette data
02/09/2004 Initial Version