NNS_GfdInitFrmPlttVramManager

Syntax

#include <nnsys/gfd.h>
void NNS_GfdInitFrmPlttVramManager(u32 szByte, BOOL useAsDefault);

Arguments

szByte The number of bytes of Palette RAM that the Frame Palette VRAM Manager will manage
useAsDefault Whether or not to use the Frame Palette VRAM Manager by default

Return Values

None.

Description

Initializes the Frame Palette VRAM Manager Initializes the Frame Palette VRAM Manager so it can manage a region that begins at the start of Palette RAM and is szByte bytes in size.

useAsDefault is set to TRUE if the Frame Palette VRAM Manager is to be used by default. When useAsDefault is set to TRUE, the Frame Palette VRAM Manager's functions that allocate and free palette memory (NNS_GfdAllocFrmPlttVram and NNS_GfdFreeFrmPlttVram) get registered in the global function pointer variables NNS_GfdDefaultFuncAllocPlttVram and NNS_GfdDefaultFuncFreePlttVram.

See Also

NNS_GfdAllocPlttVram NNS_GfdFreePlttVram
NNS_GfdAllocFrmPlttVram NNS_GfdFreeFrmPlttVram

Revision History

2004/07/16 Initial version.


CONFIDENTIAL