Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
m_Do_machine.cpp File Reference

Functions

static const charmyGetHeapTypeByString (JKRHeap *p_heap)
 
static void myMemoryErrorRoutine (void *p_heap, u32 size, int alignment)
 
void myHeapCheckRecursive (JKRHeap *p_heap)
 
void mDoMch_HeapCheckAll ()
 
static int developKeyCheck (u32 btnTrig, u32 btnHold)
 
BOOL mDoMch_IsProgressiveMode ()
 
bool exceptionReadPad (u32 *p_btnTrig, u32 *p_btnHold)
 
void exceptionRestart ()
 
void myExceptionCallback (u16, OSContext *, u32, u32)
 
static void fault_callback_scroll (u16, OSContext *p_context, u32, u32)
 
static void dummy_string ()
 
static void my_PrintHeap (char const *heapName, u32 heapSize)
 
void my_SysPrintHeap (char const *message, void *start, u32 size)
 
int mDoMch_Create ()
 

Variables

static u8 mDebugFill
 
static int solidHeapErrors
 
static int gameHeapErrors
 
static int zeldaHeapErrors
 
static int commandHeapErrors
 
static int archiveHeapErrors
 
static int unknownHeapErrors
 
static u32 heapErrors
 
GXRenderModeObj g_ntscZeldaIntDf
 
GXRenderModeObj g_ntscZeldaProg
 

Function Documentation

◆ developKeyCheck()

static int developKeyCheck ( u32  btnTrig,
u32  btnHold 
)
static

◆ dummy_string()

static void dummy_string ( )
static

◆ exceptionReadPad()

bool exceptionReadPad ( u32 p_btnTrig,
u32 p_btnHold 
)

◆ exceptionRestart()

void exceptionRestart ( )

◆ fault_callback_scroll()

static void fault_callback_scroll ( u16  ,
OSContext p_context,
u32  ,
u32   
)
static

◆ mDoMch_Create()

int mDoMch_Create ( )

◆ mDoMch_HeapCheckAll()

void mDoMch_HeapCheckAll ( )

◆ mDoMch_IsProgressiveMode()

BOOL mDoMch_IsProgressiveMode ( )

◆ my_PrintHeap()

static void my_PrintHeap ( char const heapName,
u32  heapSize 
)
static

◆ my_SysPrintHeap()

void my_SysPrintHeap ( char const message,
void start,
u32  size 
)

◆ myExceptionCallback()

void myExceptionCallback ( u16  ,
OSContext ,
u32  ,
u32   
)

◆ myGetHeapTypeByString()

static const char * myGetHeapTypeByString ( JKRHeap p_heap)
static

◆ myHeapCheckRecursive()

void myHeapCheckRecursive ( JKRHeap p_heap)

◆ myMemoryErrorRoutine()

static void myMemoryErrorRoutine ( void p_heap,
u32  size,
int  alignment 
)
static

Variable Documentation

◆ archiveHeapErrors

int archiveHeapErrors
static

◆ commandHeapErrors

int commandHeapErrors
static

◆ g_ntscZeldaIntDf

GXRenderModeObj g_ntscZeldaIntDf
extern
Initial value:
= {
608,
448,
448,
27,
16,
666,
448,
0,
0,
{{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6}},
{8, 8, 10, 12, 10, 8, 8},
}
@ VI_TVMODE_NTSC_INT
Definition vi.h:32
@ VI_XFBMODE_DF
Definition vi.h:62

◆ g_ntscZeldaProg

GXRenderModeObj g_ntscZeldaProg
extern
Initial value:
= {
608,
448,
448,
27,
16,
666,
448,
0,
0,
{{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6},
{6, 6}},
{0, 0, 21, 22, 21, 0, 0},
}
@ VI_TVMODE_NTSC_PROG
Definition vi.h:34
@ VI_XFBMODE_SF
Definition vi.h:62

◆ gameHeapErrors

int gameHeapErrors
static

◆ heapErrors

u32 heapErrors
static

◆ mDebugFill

u8 mDebugFill
static

m_Do_machine.cpp Exception Management

◆ solidHeapErrors

int solidHeapErrors
static

◆ unknownHeapErrors

int unknownHeapErrors
static

◆ zeldaHeapErrors

int zeldaHeapErrors
static