From cb75b2dad455fb378b5b6f6c846ba3479c4de848 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Sat, 19 Oct 2024 13:09:28 -0400 Subject: [PATCH] Match dDlst_setResTimgObj --- src/d/d_ovlp_fade4.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/d/d_ovlp_fade4.cpp b/src/d/d_ovlp_fade4.cpp index 29d6a738e..cbf03bce6 100644 --- a/src/d/d_ovlp_fade4.cpp +++ b/src/d/d_ovlp_fade4.cpp @@ -83,11 +83,10 @@ void dDlst_snapShot2_c::draw() { /* 80224748-80224884 .text dDlst_setResTimgObj__FPC7ResTIMGP9_GXTexObjPvUlUl */ bool dDlst_setResTimgObj(const ResTIMG* timg, GXTexObj* texObj, void* imagePtr, u32 w, u32 h) { - /* Nonmatching */ if (timg->indexTexture) { JUT_ASSERT(0xd9, FALSE); } else { - GXInitTexObj(texObj, imagePtr, w, h, (GXTexFmt)timg->format, (GXTexWrapMode)timg->wrapS, (GXTexWrapMode)timg->wrapT, (GXBool)(timg->mipmapCount > 1)); + GXInitTexObj(texObj, imagePtr, w, h, (GXTexFmt)timg->format, (GXTexWrapMode)timg->wrapS, (GXTexWrapMode)timg->wrapT, (GXBool)((int)timg->mipmapCount > 1)); } GXInitTexObjLOD(texObj, (GXTexFilter)timg->minFilter, (GXTexFilter)timg->magFilter,