Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
m_Do_machine.h
Go to the documentation of this file.
1#ifndef M_DO_M_DO_MACHINE_H
2#define M_DO_M_DO_MACHINE_H
3
4#include <gx.h>
5
6typedef struct OSContext OSContext;
7class JKRHeap;
8
9void myHeapCheckRecursive(JKRHeap*);
11void exceptionReadPad(u32*, u32*);
12void exceptionRestart();
13void myExceptionCallback(u16, OSContext*, u32, u32);
14void my_SysPrintHeap(char const*, void*, u32);
17int mDoMch_Create();
18
19extern GXRenderModeObj g_ntscZeldaProg;
20
22public:
23 static void setRenderModeObj(GXRenderModeObj* obj) { mRenderModeObj = obj; }
25 static u16 getEfbHeight() { return mRenderModeObj->efbHeight; }
26 static u16 getFbWidth() { return mRenderModeObj->fbWidth; }
27
28 static GXRenderModeObj* getRenderModeObj() { return mRenderModeObj; }
29
30 static GXRenderModeObj* mRenderModeObj;
31};
32
33namespace mDoMch {
34 extern u8 mDebugFill;
35 extern u8 mDebugFillNotUse;
36 extern u8 mDebugFillNew;
37 extern u8 mDebugFillDelete;
38
39 extern u8 myHeapVerbose;
40 extern u8 myHeapCallbackCheck;
41 extern u8 FpscrEnableBits;
42 extern u8 GXWarningLevel;
43 extern u8 GXWarningExecuteFrame;
44};
45
46#endif /* M_DO_M_DO_MACHINE_H */
Definition m_Do_machine.h:21
static void setRenderModeObj(GXRenderModeObj *obj)
Definition m_Do_machine.h:23
static GXRenderModeObj * mRenderModeObj
Definition m_Do_machine.h:30
static u16 getEfbHeight()
Definition m_Do_machine.h:25
static u16 getFbWidth()
Definition m_Do_machine.h:26
static void setProgressiveMode()
Definition m_Do_machine.h:24
static GXRenderModeObj * getRenderModeObj()
Definition m_Do_machine.h:28
struct OSContext OSContext
Definition m_Do_DVDError.h:5
void mDoMch_HeapCheckAll()
Definition m_Do_machine.cpp:394
void exceptionRestart()
Definition m_Do_machine.cpp:499
BOOL mDoMch_IsProgressiveMode()
Definition m_Do_machine.cpp:439
void my_SysPrintHeap(char const *, void *, u32)
Definition m_Do_machine.cpp:710
int mDoMch_Create()
Definition m_Do_machine.cpp:737
void myHeapCheckRecursive(JKRHeap *)
Definition m_Do_machine.cpp:384
void myExceptionCallback(u16, OSContext *, u32, u32)
Definition m_Do_machine.cpp:509
void mDoMch_HeapFreeFillAll()
Definition m_Do_machine.cpp:404
void exceptionReadPad(u32 *, u32 *)
Definition m_Do_machine.cpp:479
GXRenderModeObj g_ntscZeldaProg
Definition m_Do_machine.cpp:115
Definition m_Do_machine.h:33
u8 myHeapVerbose
Definition m_Do_machine.cpp:64
u8 mDebugFillNew
Definition m_Do_machine.cpp:61
u8 myHeapCallbackCheck
Definition m_Do_machine.cpp:65
u8 GXWarningLevel
Definition m_Do_machine.cpp:67
u8 mDebugFillNotUse
Definition m_Do_machine.cpp:60
u8 FpscrEnableBits
Definition m_Do_machine.cpp:66
u8 GXWarningExecuteFrame
Definition m_Do_machine.cpp:68
u8 mDebugFill
Definition m_Do_machine.cpp:59
u8 mDebugFillDelete
Definition m_Do_machine.cpp:62