diff --git a/include/dolphin/gx/GX.h b/include/dolphin/gx/GX.h index dbd7f0345..a9052ce9c 100644 --- a/include/dolphin/gx/GX.h +++ b/include/dolphin/gx/GX.h @@ -192,6 +192,13 @@ inline void GXColor1x16(u16 x) { GXFIFO.u16 = x; } +inline void GXColor4x8(u8 r, u8 g, u8 b, u8 a) { + GXFIFO.u8 = r; + GXFIFO.u8 = g; + GXFIFO.u8 = b; + GXFIFO.u8 = a; +} + inline void GXTexCoord1x16(u16 x) { GXFIFO.u16 = x; }