From 9fcf22213f2889e8a8cfed43674b3cb92fecb88c Mon Sep 17 00:00:00 2001 From: Lila Date: Thu, 26 Dec 2024 00:47:22 +0000 Subject: [PATCH] fix large texture mode --- fast64_internal/f3d/f3d_texture_writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fast64_internal/f3d/f3d_texture_writer.py b/fast64_internal/f3d/f3d_texture_writer.py index 01d176047..f0c377425 100644 --- a/fast64_internal/f3d/f3d_texture_writer.py +++ b/fast64_internal/f3d/f3d_texture_writer.py @@ -1077,7 +1077,7 @@ def saveTextureTile( if f3d.F3DZEX2_EMU64: if (clamp_S and mirror_S) or (clamp_T and mirror_T): raise PluginError("Clamp + mirror not supported in F3DZEX2 (Emu64)") - if tileSettings and (log2iRoundUp(fImage.width) != masks or log2iRoundUp(fImage.height) != maskt): + if tileSettings is None and (log2iRoundUp(fImage.width) != masks or log2iRoundUp(fImage.height) != maskt): raise PluginError("Mask is not emulated in emu64, non default values are not supported") wrap_s = "GX_CLAMP" if clamp_S else "GX_MIRROR" if mirror_S else "GX_REPEAT" wrap_t = "GX_CLAMP" if clamp_T else "GX_MIRROR" if mirror_T else "GX_REPEAT"