#include <nitro/gx/gx_load.h>
void GX_LoadTexPlttEx(
GXVRamTexPltt texPltt,
const void *pSrc,
u32 destSlotAddr,
u32 szByte
);This function uses DMA to transfer texture palette data to VRAM banks that can be allocated to texture palettes. The transfer destination address (in the texture 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.
Notes:
DC_FlushRange or some similar function.texPltt must be mapped in LCDC space.texPltt |
Texture palette slot setting |
pSrc |
Pointer to transfer source |
destSlotAddr |
Address in transfer destination texture palette slot |
szByte |
Transfer size (in bytes) |
None
02/23/2004 Initial Version