NNS_GfdInitLnkPlttVramManager

Syntax

#include <nnsys/gfd.h>

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

Arguments

szByte Size of the region to manage (in bytes) (The maximum is 0x18000.)
pManagementWork Pointer to the memory region used for management information.
szByteManagementWork 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 the NNS_GfdGetLnkPlttVramManagerWorkSize function 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 of the TWL-System.

See Also

NNS_GfdGetLnkPlttVramManagerWorkSize

Revision History

2008/06/20 Changed NITRO-System to TWL-System.
2004/10/12 Initial version.


CONFIDENTIAL