From add1260a9c31f5a057c6586f1475514ba5bbfa71 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Thu, 27 Jun 2024 13:43:06 -0400 Subject: [PATCH] fakematch mDoExt_3DlineMat1_c::draw --- src/m_Do/m_Do_ext.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/m_Do/m_Do_ext.cpp b/src/m_Do/m_Do_ext.cpp index be0f069ca..eb673bc8f 100644 --- a/src/m_Do/m_Do_ext.cpp +++ b/src/m_Do/m_Do_ext.cpp @@ -2088,7 +2088,6 @@ void mDoExt_3DlineMat1_c::setMaterial() { /* 800155DC-80015764 .text draw__19mDoExt_3DlineMat1_cFv */ void mDoExt_3DlineMat1_c::draw() { - /* Nonmatching */ GXLoadTexObj(&mTexObj, GX_TEXMAP0); u16 h = GXGetTexObjHeight(&mTexObj); u16 w = GXGetTexObjWidth(&mTexObj); @@ -2111,10 +2110,12 @@ void mDoExt_3DlineMat1_c::draw() { GXTexCoord1x16(j); j++; - GXPosition1x16(j); + u16 j2 = j; // fakematch? + GXPosition1x16(j2); GXNormal1x8(1); - GXTexCoord1x16(j); - j++; + GXTexCoord1x16(j2); + j2++; + j = j2; } GXEnd(); line++;