diff options
| author | Carco_21 <144170194+carter-ktb21@users.noreply.github.com> | 2025-11-25 11:34:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-25 18:34:19 +0200 |
| commit | 9e232b61fbac3d4a7564237426b4f0f696bc231f (patch) | |
| tree | 912b6fc24f87977d4e8ae1a7c26b8d9a1afc725b /src/JSystem/J3DGraphAnimator | |
| parent | 2f2f37a7345d889aa1072b10e3a5022ad1bd15f1 (diff) | |
Small matches/improvements (#2844)
* j2dmatblock debug work
* J2DMaterialFactory matching
* J2DPictureEx matching
* tiny work
* fixed regressions
* PR cleanup
* build error fix
Diffstat (limited to 'src/JSystem/J3DGraphAnimator')
| -rw-r--r-- | src/JSystem/J3DGraphAnimator/J3DSkinDeform.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/JSystem/J3DGraphAnimator/J3DSkinDeform.cpp b/src/JSystem/J3DGraphAnimator/J3DSkinDeform.cpp index e1f06d3baa..4575a914a0 100644 --- a/src/JSystem/J3DGraphAnimator/J3DSkinDeform.cpp +++ b/src/JSystem/J3DGraphAnimator/J3DSkinDeform.cpp @@ -401,7 +401,12 @@ void J3DSkinDeform::changeFastSkinDL(J3DModelData* pModelData) { for (int local_4c = 0; local_4c < uVar9; local_4c++) { u8* dst = &local_44[local_34 * local_4c]; memcpy(puVar10, dst + 1, local_34 - 1); - puVar10 = ((local_34 + puVar10) - 1); + // FAKEMATCH + #if DEBUG || VERSION == VERSION_WII_USA_R0 || VERSION == VERSION_WII_USA_R2 + puVar10 += local_34 - 1; + #else + puVar10 = (local_34 + puVar10) - 1; + #endif } local_44 += local_34 * uVar9; } |
