J3DMatBlock OK

This commit is contained in:
LagoLunatic
2026-08-28 12:57:22 -04:00
parent d27955c04d
commit 77f9369fd6
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -1062,7 +1062,7 @@ config.libs = [
Object(Matching, "JSystem/J3DGraphBase/J3DShapeMtx.cpp"),
Object(Matching, "JSystem/J3DGraphBase/J3DShape.cpp"),
Object(Matching, "JSystem/J3DGraphBase/J3DMaterial.cpp"),
Object(Equivalent, "JSystem/J3DGraphBase/J3DMatBlock.cpp"), # regalloc
Object(Matching, "JSystem/J3DGraphBase/J3DMatBlock.cpp"),
Object(Matching, "JSystem/J3DGraphBase/J3DTevs.cpp"),
Object(Matching, "JSystem/J3DGraphBase/J3DDrawBuffer.cpp"),
],
+2 -2
View File
@@ -882,8 +882,8 @@ struct J3DIndTexOrder : public J3DIndTexOrderInfo {
J3DIndTexOrder() { *(J3DIndTexOrderInfo*)this = j3dDefaultIndTexOrderNull; }
explicit J3DIndTexOrder(const J3DIndTexOrderInfo& info) { *(J3DIndTexOrderInfo*)this = info; }
u8 getCoord() const { return mCoord; }
u8 getMap() const { return mMap; }
u8 getCoord() { return mCoord; }
u8 getMap() { return mMap; }
void setCoord(u8 coord) { mCoord = coord; }
void setMap(u8 map) { mMap = map; }
};
-2
View File
@@ -1400,7 +1400,6 @@ void J3DTevBlock::indexToPtr_private(u32 offs) {
/* 802E6298-802E6494 .text load__15J3DIndBlockFullFv */
void J3DIndBlockFull::load() {
/* Nonmatching - regalloc */
u8 indTexStageNum = mIndTexStageNum;
for (u32 i = 0; i < indTexStageNum; i++) {
mIndTexMtx[i].load(i);
@@ -1433,7 +1432,6 @@ void J3DIndBlockFull::load() {
/* 802E6494-802E657C .text diff__15J3DIndBlockFullFUl */
void J3DIndBlockFull::diff(u32 flag) {
/* Nonmatching - regalloc */
if ((flag & 0x08000000) == 0) {
return;
}