Fix decompile errors

This commit is contained in:
mateusfavarin 2024-07-04 18:20:04 -03:00
parent a6a6b1b7a4
commit 3548b5a82e
3 changed files with 2 additions and 3 deletions

View File

@ -62,7 +62,6 @@ void DECOMP_UI_DrawDriverIcon(struct Icon* icon, Point point, u_long* ot, unsign
p->v[3].texCoords.v = icon->texLayout.v3;
#else
unsigned int bottomV = (icon->texLayout.v0 + bottomY) - point.y;
setUV4(p, icon->texLayout.u0, icon->texLayout.v0, icon->texLayout.u1, icon->texLayout.v1, icon->texLayout.u2, bottomV, icon->texLayout.u3, bottomV);
p->v[0].texCoords.u = icon->texLayout.u0;
p->v[0].texCoords.v = icon->texLayout.v0;
p->v[1].texCoords.u = icon->texLayout.u1;

View File

@ -16,7 +16,7 @@
//#define USE_BIGQUEUE // Requires RAMEX: Extended loading queue
//#define USE_HIGH1P // Requires BIGQUEUE: All high model drivers
//#define USE_RANDOM // Requires HIGH1P: Character Randomizer
#define USE_ONLINE // Requires HIGH1P: Online Multiplayer
//#define USE_ONLINE // Requires HIGH1P: Online Multiplayer
//#define USE_HIGHMP // Requires RAMEX: Multiplayer Maxed mod
//#define USE_VR // Virtual Reality

View File

@ -1582,5 +1582,5 @@ _Static_assert(sizeof(struct MetaPhys) == 0x1C);
#endif
#if BUILD == UsaRetail && !defined(USE_ONLINE)
_Static_assert(sizeof(struct Driver) == 0x638);
_Static_assert(sizeof(struct Driver) == 0x638 + 0x8);
#endif