#include <nnsys/gfd.h>
void NNS_GfdInitLnkPlttVramManager(
u32 szByte,
void* pManagementWork,
u32 szByteManagementWork,
BOOL useAsDefault );
| szByte | The size of the region to manage (in bytes) (The maximum is 0x18000) |
| pManagementWork | A pointer to the memory region used for management information |
| szByteManagementWork | The size of the management information region (in bytes) |
| useAsDefault | Whether to use the linked list palette VRAM manager as the current VRAM manager |
None.
Initializes the VRAM manager to manage the region that begins with the palette RAM and has the size specified by szByte. The linked list VRAM manager requires the management information of the empty region. Therefore, you must pass the memory region for management information when initializing. Use NNS_GfdGetLnkPlttVramManagerWorkSize() to get the size of the required management information memory. If useAsDefault is TRUE, the linked list palette VRAM manager is set as the current VRAM manager.
NNS_GfdGetLnkPlttVramManagerWorkSize
10/12/2004 Initial version.
CONFIDENTIAL