Loading [MathJax]/extensions/tex2jax.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
GXSave.c File Reference

Functions

void __GXShadowIndexState (u32 idx_reg, u32 reg_data)
 
static u8 __ReadMem (void *ptr, u32 sz)
 
void DPF (char *,...)
 
static void __SaveCPRegs (u8 reg, u8 vatIdx, u32 data)
 
static void __ReconstVtxStatus (u8 vatIdx)
 
static u32 GetAttrSize (u8 vatIdx, u32 attrIdx)
 
static void __ParseVertexData (u8 vatIdx)
 
void __GXShadowDispList (void *list, u32 nbytes)
 
void __GXPrintShadowState (void)
 

Variables

static const u8dlist
 
static u32 dlistSize
 
static u32 bytesRead
 
static u32 vtxCompSize [5] = { 1, 1, 2, 2, 4 }
 
static int clrCompSize [6] = { 2, 3, 4, 2, 3, 4 }
 

Function Documentation

◆ __GXPrintShadowState()

void __GXPrintShadowState ( void )

◆ __GXShadowDispList()

void __GXShadowDispList ( void * list,
u32 nbytes )

◆ __GXShadowIndexState()

void __GXShadowIndexState ( u32 idx_reg,
u32 reg_data )

◆ __ParseVertexData()

static void __ParseVertexData ( u8 vatIdx)
static

◆ __ReadMem()

static u8 __ReadMem ( void * ptr,
u32 sz )
static

◆ __ReconstVtxStatus()

static void __ReconstVtxStatus ( u8 vatIdx)
static

◆ __SaveCPRegs()

static void __SaveCPRegs ( u8 reg,
u8 vatIdx,
u32 data )
static

◆ DPF()

void DPF ( char * ,
... )
inline

◆ GetAttrSize()

static u32 GetAttrSize ( u8 vatIdx,
u32 attrIdx )
static

Variable Documentation

◆ bytesRead

u32 bytesRead
static

◆ clrCompSize

int clrCompSize[6] = { 2, 3, 4, 2, 3, 4 }
static

◆ dlist

const u8* dlist
static

◆ dlistSize

u32 dlistSize
static

◆ vtxCompSize

u32 vtxCompSize[5] = { 1, 1, 2, 2, 4 }
static