diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-12-31 14:30:16 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-12-31 14:30:16 -0500 |
| commit | 96901725b04dd67d6987f6905f1008a53252c62a (patch) | |
| tree | 3d472ededb8fafd9bceeccc5cac69bfe844201a3 /src/JSystem/J3DGraphBase | |
| parent | d5306c83460182587c24603a58f4196f0f8da21b (diff) | |
J3DGD OK
Diffstat (limited to 'src/JSystem/J3DGraphBase')
| -rw-r--r-- | src/JSystem/J3DGraphBase/J3DGD.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/JSystem/J3DGraphBase/J3DGD.cpp b/src/JSystem/J3DGraphBase/J3DGD.cpp index 88efb9d9..98561513 100644 --- a/src/JSystem/J3DGraphBase/J3DGD.cpp +++ b/src/JSystem/J3DGraphBase/J3DGD.cpp @@ -134,9 +134,9 @@ void J3DGDSetVtxAttrFmtv(GXVtxFmt fmt, GXVtxAttrFmtList* vtxAttr, bool forceNBT) nrmCompCnt = GX_NRM_NBT; nbt3 = true; } else { - nrmCompCnt = GX_NRM_NBT; - if (!forceNBT) - nrmCompCnt = vtxAttr->mCompCnt; + // possible fakematch? need to cast vtxAttr->mCompCnt to int to put value in r0 temporarily + // nrmCompCnt = forceNBT ? GX_NRM_NBT : vtxAttr->mCompCnt; + nrmCompCnt = (GXCompCnt)(forceNBT ? GX_NRM_NBT : (int)(vtxAttr->mCompCnt)); nbt3 = false; } break; |
