Switch to Aurora headers for GX/VI

Replace GXSetArray() with GXSETARRAY() taking in size everywhere

Fix a ton of structs/enums being referred to with underscore name.
This commit is contained in:
PJB3005
2026-03-02 01:21:54 +01:00
parent fe21abb1ec
commit 883ba38bb8
74 changed files with 176 additions and 190 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ public:
void prepend(JUTCacheFont::TGlyphCacheInfo*);
virtual ~JUTCacheFont();
virtual void loadImage(int, _GXTexMapID);
virtual void loadImage(int, GXTexMapID);
virtual void setBlock();
void setPagingType(EPagingType type) { mPagingType = type; }
+2 -3
View File
@@ -8,7 +8,6 @@
#include <dolphin/os.h>
#include "global.h"
typedef struct _GXRenderModeObj GXRenderModeObj;
typedef struct OSContext OSContext;
class JUTDirectPrint;
@@ -18,10 +17,10 @@ class JUTDirectPrint;
*/
class JUTExternalFB {
public:
JUTExternalFB(_GXRenderModeObj*, GXGamma, void*, u32);
JUTExternalFB(GXRenderModeObj*, GXGamma, void*, u32);
private:
/* 0x00 */ _GXRenderModeObj* mRenderMode;
/* 0x00 */ GXRenderModeObj* mRenderMode;
/* 0x04 */ u32 mSize;
/* 0x08 */ u32 field_0x08;
/* 0x0C */ u16 field_0x0C;
+2 -2
View File
@@ -38,7 +38,7 @@ public:
virtual int getFontType() const;
virtual ResFONT* getResFont() const;
virtual bool isLeadByte(int) const;
virtual void loadImage(int, _GXTexMapID);
virtual void loadImage(int, GXTexMapID);
virtual void setBlock();
JUTResFont(ResFONT const*, JKRHeap*);
@@ -48,7 +48,7 @@ public:
bool initiate(ResFONT const*, JKRHeap*);
bool protected_initiate(ResFONT const*, JKRHeap*);
void countBlock();
void loadFont(int, _GXTexMapID, JUTFont::TWidth*);
void loadFont(int, GXTexMapID, JUTFont::TWidth*);
int getFontCode(int) const;
int convertSjis(int, BE(u16)*) const;
+2 -1
View File
@@ -4,6 +4,7 @@
#include <dolphin/gx.h>
#include <dolphin/os.h>
#include <dolphin/os.h>
#include <dolphin/vi.h>
typedef u8 (*Pattern)[2];
@@ -54,7 +55,7 @@ private:
static OSTick sVideoInterval;
private:
/* 0x04 */ _GXRenderModeObj* mRenderObj;
/* 0x04 */ GXRenderModeObj* mRenderObj;
/* 0x08 */ u32 field_0x8;
/* 0x0C */ u32 mRetraceCount;
/* 0x10 */ u32 field_0x10;
+1 -2
View File
@@ -3,7 +3,6 @@
#include "JSystem/JUtility/JUTVideo.h"
typedef struct _GXRenderModeObj GXRenderModeObj;
class JKRHeap;
/**
@@ -21,7 +20,7 @@ public:
void clearIndex();
void common_init(int);
JUTXfb(_GXRenderModeObj const*, JKRHeap*, JUTXfb::EXfbNumber);
JUTXfb(GXRenderModeObj const*, JKRHeap*, JUTXfb::EXfbNumber);
~JUTXfb();
void delXfb(int);
static JUTXfb* createManager(JKRHeap*, JUTXfb::EXfbNumber);