summaryrefslogtreecommitdiff
path: root/include/egg/core/eggGraphicsFifo.h
blob: fdcefc098b9f4afbe74d56cc6117d26fe41589e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef EGG_GRAPHICS_FIFO_H
#define EGG_GRAPHICS_FIFO_H

#include "common.h"
#include "egg/core/eggHeap.h"


namespace EGG {

class GraphicsFifo {
public:
    // vtable 0x00
    /* vt 0x08 */ virtual ~GraphicsFifo();

public:
    /* 0x04 */ void *mGxInitData;
    /* 0x08 */ void *mBuffBase;
    /* 0x0C */ u32 mBufSize;

public:
    static void create(u32 size, Heap *heap);
    GraphicsFifo(u32 size, Heap *heap);

public:
    static GraphicsFifo *sGraphicsFifo;
    static u8 sGpStatus[5];
};

} // namespace EGG

#endif