Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
GXInit.c File Reference

Functions

GXTexRegion__GXDefaultTexRegionCallback (const GXTexObj *obj, GXTexMapID id)
 
GXTlutRegion__GXDefaultTlutRegionCallback (u32 tlut)
 
BOOL __GXShutdown (BOOL final)
 
void __GXInitRevisionBits (void)
 
static u16 DefaultTexData[] ALIGN_DECL (32)
 
static void EnableWriteGatherPipe ()
 
GXFifoObjGXInit (void *base, u32 size)
 
void __GXInitGX (void)
 

Variables

char__GXVersion = "<< Dolphin SDK - GX release build: Nov 10 2004 06:27:12 (0x2301) >>"
 
static GXFifoObj FifoObj
 
static GXData gxData
 
GXData *const __GXData = &gxData
 
u32 resetFuncRegistered
 
u32 calledOnce
 
OSTime time
 
u32 peCount
 
vu16__memReg
 
u16__peReg
 
u16__cpReg
 
u32__piReg
 
static GXVtxAttrFmtList GXDefaultVATList []
 
static f32 GXDefaultProjData [] = {1.0f, 0.0f, 1.0f, 0.0f, -1.0f, -2.0f, 0.0f}
 
static u32 GXTexRegionAddrTable []
 
static OSResetFunctionInfo GXResetFuncInfo = {__GXShutdown, OS_RESET_PRIO_GX}
 

Function Documentation

◆ __GXDefaultTexRegionCallback()

GXTexRegion * __GXDefaultTexRegionCallback ( const GXTexObj obj,
GXTexMapID  id 
)

◆ __GXDefaultTlutRegionCallback()

GXTlutRegion * __GXDefaultTlutRegionCallback ( u32  tlut)

◆ __GXInitGX()

void __GXInitGX ( void  )

◆ __GXInitRevisionBits()

void __GXInitRevisionBits ( void  )

◆ __GXShutdown()

BOOL __GXShutdown ( BOOL  final)

◆ ALIGN_DECL()

static u16 DefaultTexData[] ALIGN_DECL ( 32  )
static

◆ EnableWriteGatherPipe()

static void EnableWriteGatherPipe ( )
static

◆ GXInit()

GXFifoObj * GXInit ( void base,
u32  size 
)

Variable Documentation

◆ __cpReg

u16* __cpReg

◆ __GXData

GXData* const __GXData = &gxData

◆ __GXVersion

char* __GXVersion = "<< Dolphin SDK - GX release build: Nov 10 2004 06:27:12 (0x2301) >>"

◆ __memReg

vu16* __memReg

◆ __peReg

u16* __peReg

◆ __piReg

u32* __piReg

◆ calledOnce

u32 calledOnce

◆ FifoObj

GXFifoObj FifoObj
static

◆ gxData

GXData gxData
static

◆ GXDefaultProjData

f32 GXDefaultProjData[] = {1.0f, 0.0f, 1.0f, 0.0f, -1.0f, -2.0f, 0.0f}
static

◆ GXDefaultVATList

GXVtxAttrFmtList GXDefaultVATList[]
static
Initial value:
= {
}
@ GX_POS_XYZ
Definition GXEnum.h:230
@ GX_NRM_XYZ
Definition GXEnum.h:232
@ GX_COMPCNT_NULL
Definition GXEnum.h:243
@ GX_CLR_RGBA
Definition GXEnum.h:238
@ GX_TEX_ST
Definition GXEnum.h:241
@ GX_VA_TEX5
Definition GXEnum.h:216
@ GX_VA_TEX6
Definition GXEnum.h:217
@ GX_VA_TEX3
Definition GXEnum.h:214
@ GX_VA_NULL
Definition GXEnum.h:225
@ GX_VA_CLR0
Definition GXEnum.h:209
@ GX_VA_POS
Definition GXEnum.h:207
@ GX_VA_CLR1
Definition GXEnum.h:210
@ GX_VA_TEX0
Definition GXEnum.h:211
@ GX_VA_TEX4
Definition GXEnum.h:215
@ GX_VA_TEX1
Definition GXEnum.h:212
@ GX_VA_TEX2
Definition GXEnum.h:213
@ GX_VA_TEX7
Definition GXEnum.h:218
@ GX_VA_NRM
Definition GXEnum.h:208
@ GX_COMP_NULL
Definition GXEnum.h:260
@ GX_F32
Definition GXEnum.h:251
@ GX_RGBA8
Definition GXEnum.h:258

◆ GXResetFuncInfo

OSResetFunctionInfo GXResetFuncInfo = {__GXShutdown, OS_RESET_PRIO_GX}
static

◆ GXTexRegionAddrTable

u32 GXTexRegionAddrTable[]
static
Initial value:
= {
0x00000, 0x10000, 0x20000, 0x30000, 0x40000, 0x50000, 0x60000, 0x70000, 0x08000, 0x18000,
0x28000, 0x38000, 0x48000, 0x58000, 0x68000, 0x78000, 0x00000, 0x90000, 0x20000, 0xB0000,
0x40000, 0x98000, 0x60000, 0xB8000, 0x80000, 0x10000, 0xA0000, 0x30000, 0x88000, 0x50000,
0xA8000, 0x70000, 0x00000, 0x90000, 0x20000, 0xB0000, 0x40000, 0x90000, 0x60000, 0xB0000,
0x80000, 0x10000, 0xA0000, 0x30000, 0x80000, 0x50000, 0xA0000, 0x70000,
}

◆ peCount

u32 peCount

◆ resetFuncRegistered

u32 resetFuncRegistered

◆ time

OSTime time