#include <nnsys/gfd.h>
void NNS_GfdDumpLnkPlttVramManagerEx(
NNSGfdLnkDumpCallBack pFunc,
void* pUserData );
pFunc |
Debug output process function (for normal textures) |
pUserData |
Debug output process data passed as an argument to the debug output process function. |
None.
Outputs the status of the linked list palette VRAM manager for debugging.
The parameters in the internal management list used by the VRAM manager are set as arguments, and the specified debug output process function gets called.
A declaration of a debug output process function and an example of implementation are shown below.
//------------------------------------------------------
// NNSGfdLnkDumpCallBack declaration
//------------------------------------------------------
typedef void (*NNSGfdLnkDumpCallBack)(
u32 addr,
u32 szByte,
void* pUserData );
//------------------------------------------------------
// NNSGfdLnkDumpCallBack implementation example
//------------------------------------------------------
void DumpCallBack_( u32 addr, u32 szByte, void* pUserData )
{
// Calculate the total size
(*((u32*)pUserData)) += szByte;
// output information to the debug console
OS_Printf("0x%08x: 0x%08x \n", addr, szByte );
}
None.
2007/01/31 Initial version.
CONFIDENTIAL