NNS_GfdInitLnkPlttVramManager

C Specification

#include <nnsys/gfd.h>

void NNS_GfdInitLnkPlttVramManager( 
    u32     szByte, 
    void*   pManagementWork, 
    u32     szByteManagementWork,
    BOOL    useAsDefault );
   

Arguments

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

Return Values

None.

Description

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.

See Also

NNS_GfdGetLnkPlttVramManagerWorkSize

Revision History

2004/10/12 Initial version.


CONFIDENTIAL