#include <nitro/gx/gx_load.h>
void GXS_LoadBG3Bmp (const void *pSrc, u32 offset, u32 szByte);
For 256-color bitmap BGs and direct color bitmap BGs this function DMA transfers bitmap data to the BG3 screen base address in the BG-VRAM of the sub-2D engine. You can specify an offset in the address of the transfer destination. The DMA channel used is GX_DMAID (defined in gxcommon.h). offset and szByte need to be multiples of 2. The transfer destination address is (u32) G2_GetBG3ScrPtr() + offset. GX_LoadBG3Scr is called internally.
Notes:
DC_FlushRange
prior to the process.pSrc |
Transfer origin pointer |
offset |
Offset |
szByte |
Transfer Size (in bytes) |
None
GXS_LoadBGPltt,
GXS_LoadBG3Scr
03/23/2004 Version