GLES2N64 (from mupen64plus-ae) plugin. Compile and run on the OpenPandora
[mupen64plus-pandora.git] / source / gles2n64 / src / VI.h
diff --git a/source/gles2n64/src/VI.h b/source/gles2n64/src/VI.h
new file mode 100644 (file)
index 0000000..c138744
--- /dev/null
@@ -0,0 +1,27 @@
+#ifndef VI_H
+#define VI_H
+#include "Types.h"
+
+struct VIInfo
+{
+    u32 width, height;
+    f32 rwidth, rheight;
+    u32 lastOrigin;
+
+    u32 realWidth, realHeight;
+
+    struct{
+        u32 start, end;
+    } display[16];
+
+    u32 displayNum;
+
+};
+
+extern VIInfo VI;
+
+void VI_UpdateSize();
+void VI_UpdateScreen();
+
+#endif
+