#include <nitro/gx/gx_load.h>
void GXS_LoadBG2Bmp(const void *pSrc, u32 offset, u32 szByte);
This function uses DMA to transfer screen data to the BG2 screen data base address in the sub-2D Engine BG-VRAM. You can specify an offset in the address of the transfer destination. The DMA channel used is GX_DMAID (defined in gxcommon.h). Both offset and szByte must be multiples of 2. The transfer destination address is (u32) G2S_GetBG2ScrPtr() + offset.
Notes:
DC_FlushRange
prior to the process.pSrc |
Transfer origin pointer |
offset |
Offset |
szByte |
Transfer Size (in bytes) |
None
GXS_LoadBGPltt,
GXS_LoadBG2Scr
03/23/2004 Version