Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JUTGraphFifo.h
Go to the documentation of this file.
1#ifndef JUTGRAPHFIFO_H
2#define JUTGRAPHFIFO_H
3
4#include "dolphin/gx.h"
5
11public:
12 /* 802DEB58 */ JUTGraphFifo(u32);
13
14 /* 802DEC34 */ virtual ~JUTGraphFifo();
15
16 void getGpStatus() {
18 (GXBool*)&mGpStatus[3], (GXBool*)&mGpStatus[4]);
19 }
20
21 bool isGPActive() {
23 return mGpStatus[2] == false;
24 }
25
26 void save() { GXSaveCPUFifo(this->mFifo); }
27
29 static bool mGpStatus[5];
30
31private:
32 /* 0x04 */ GXFifoObj* mFifo;
33 /* 0x08 */ void* mBase;
34 /* 0x0C */ u32 mSize;
35 /* 0x10 */ u8 field_0x10[0xC];
36};
37
39
40#endif /* JUTGRAPHFIFO_H */
u8 GXBool
Definition GXEnum.h:23
void GXSaveCPUFifo(GXFifoObj *fifo)
Definition GXFifo.c:190
void GXGetGPStatus(GXBool *overhi, GXBool *underlow, GXBool *readIdle, GXBool *cmdIdle, GXBool *brkpt)
Definition GXFifo.c:215
void JUTCreateFifo(u32 bufSize)
Definition JUTGraphFifo.h:38
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JUTGraphFifo.h:10
void * mBase
Definition JUTGraphFifo.h:33
static bool mGpStatus[5]
Definition JUTGraphFifo.h:29
bool isGPActive()
Definition JUTGraphFifo.h:21
static JUTGraphFifo * sCurrentFifo
Definition JUTGraphFifo.h:28
u8 field_0x10[0xC]
Definition JUTGraphFifo.h:35
u32 mSize
Definition JUTGraphFifo.h:34
void getGpStatus()
Definition JUTGraphFifo.h:16
virtual ~JUTGraphFifo()
Definition JUTGraphFifo.cpp:37
void save()
Definition JUTGraphFifo.h:26
GXFifoObj * mFifo
Definition JUTGraphFifo.h:32
Definition GXStruct.h:80
unsigned long u32
Definition types.h:10
unsigned char u8
Definition types.h:8