summaryrefslogtreecommitdiff
path: root/src/JSystem/J2DGraph/J2DMaterialFactory.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-12-13 00:04:03 -0500
committerGitHub <noreply@github.com>2025-12-12 21:04:03 -0800
commit1b8ea3206dbbaa6e4ebe7b4dfadffd8d85f37480 (patch)
tree334a6f146edd70f260a6d3156e1aad8221b22e42 /src/JSystem/J2DGraph/J2DMaterialFactory.cpp
parent7e514502d2e97781aa0488c08e39e505f29f36f5 (diff)
J3D debug work (#2949)
* J3D debug work * Clean up JSystem GXColor ctors, remove a couple fakematches * Update symbols.txt * Fix res include syntax * Remove fakematch that isn't necessary anymore * Fix some Shield regressions
Diffstat (limited to 'src/JSystem/J2DGraph/J2DMaterialFactory.cpp')
-rw-r--r--src/JSystem/J2DGraph/J2DMaterialFactory.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/JSystem/J2DGraph/J2DMaterialFactory.cpp b/src/JSystem/J2DGraph/J2DMaterialFactory.cpp
index 8e430601b9..024adef56f 100644
--- a/src/JSystem/J2DGraph/J2DMaterialFactory.cpp
+++ b/src/JSystem/J2DGraph/J2DMaterialFactory.cpp
@@ -270,18 +270,8 @@ J2DTevOrder J2DMaterialFactory::newTevOrder(int param_0, int param_1) const {
}
J2DGXColorS10 J2DMaterialFactory::newTevColor(int param_0, int param_1) const {
- // FAKEMATCH
- #if DEBUG || VERSION == VERSION_WII_USA_R0 || VERSION == VERSION_WII_USA_R2
GXColorS10 color = {0, 0, 0, 0};
J2DGXColorS10 rv = color;
- #else
- GXColorS10 color = {0, 0, 0, 0};
- J2DGXColorS10 rv;
- rv.r = color.r;
- rv.g = color.g;
- rv.b = color.b;
- rv.a = color.a;
- #endif
J2DMaterialInitData* iVar2 = &field_0x4[field_0x8[param_0]];
if (iVar2->field_0x92[param_1] != 0xffff) {