From d9760904d6b47f3439407d190da6cee4cc71fd3e Mon Sep 17 00:00:00 2001 From: kabiskac Date: Tue, 11 Jun 2024 14:32:54 +0200 Subject: [PATCH] GXUnknownu16 moved to GXVert.h --- include/dolphin/gx/GXVert.h | 4 ++++ src/game/hsfdraw.c | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/include/dolphin/gx/GXVert.h b/include/dolphin/gx/GXVert.h index 5f33d576..61d4dabf 100644 --- a/include/dolphin/gx/GXVert.h +++ b/include/dolphin/gx/GXVert.h @@ -171,6 +171,10 @@ static inline void GXTexCoord1x16(u16 index) { GXWGFifo.u16 = index; } +static inline void GXUnknownu16(const u16 x) { + GXWGFifo.u16 = x; +} + static inline void GXEnd(void) {} #endif diff --git a/src/game/hsfdraw.c b/src/game/hsfdraw.c index 5b70c69d..5d5b32d5 100755 --- a/src/game/hsfdraw.c +++ b/src/game/hsfdraw.c @@ -117,11 +117,6 @@ static s16 oneceF = 1; static GXColor firstTev = { 0xFF, 0xFF, 0x00, 0x00 }; static GXColor secondTev = { 0x00, 0x00, 0xFF, 0xFF }; -// TODO: move to GXVert -static inline void GXUnknownu16(const u16 x) { - GXWGFifo.u16 = x; -} - void Hu3DDrawPreInit(void) { DrawObjIdx = 0; }