From bc704858b7f82de33db13a488f1959a9be688967 Mon Sep 17 00:00:00 2001 From: ogamespec Date: Tue, 15 Aug 2023 10:22:01 +0300 Subject: [PATCH] fixed hack --- src/xf.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xf.cpp b/src/xf.cpp index 2c4d1ba8..14afdfc7 100644 --- a/src/xf.cpp +++ b/src/xf.cpp @@ -486,6 +486,11 @@ namespace GX break; } + // Hmmm :/ + if (mx == nullptr) { + mx = &xf.mvTexMtx[v->matIdx0.Tex0MatIdx * 4]; + } + // st or stq ? if (xf.tex[n].projection) {