aboutsummaryrefslogtreecommitdiff
path: root/GPU3D.h
diff options
context:
space:
mode:
Diffstat (limited to 'GPU3D.h')
-rw-r--r--GPU3D.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/GPU3D.h b/GPU3D.h
index d606e25..19356d8 100644
--- a/GPU3D.h
+++ b/GPU3D.h
@@ -22,6 +22,20 @@
namespace GPU3D
{
+typedef struct
+{
+ s32 Position[4];
+ u8 Color[3];
+
+} Vertex;
+
+typedef struct
+{
+ Vertex* Vertices[10];
+ u32 NumVertices;
+
+} Polygon;
+
bool Init();
void DeInit();
void Reset();
@@ -30,6 +44,8 @@ void Run(s32 cycles);
void CheckFIFOIRQ();
void CheckFIFODMA();
+void VBlank();
+
u8 Read8(u32 addr);
u16 Read16(u32 addr);
u32 Read32(u32 addr);