From 063aa46094e37381163ed58235b98ea0e33570e4 Mon Sep 17 00:00:00 2001 From: ds5678 <49847914+ds5678@users.noreply.github.com> Date: Thu, 27 Nov 2025 22:03:57 -0800 Subject: [PATCH] Allow mipped textures in SwitchSwizzle --- Source/AssetRipper.SourceGenerated.Extensions/SwitchSwizzle.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/AssetRipper.SourceGenerated.Extensions/SwitchSwizzle.cs b/Source/AssetRipper.SourceGenerated.Extensions/SwitchSwizzle.cs index f00615784..d3faf6e0f 100644 --- a/Source/AssetRipper.SourceGenerated.Extensions/SwitchSwizzle.cs +++ b/Source/AssetRipper.SourceGenerated.Extensions/SwitchSwizzle.cs @@ -34,8 +34,7 @@ public static class SwitchSwizzle public static byte[] Unswizzle(ITexture2D texture, byte[] data) { - // Just in case - if (texture.Mips || texture.ImageCount_C28 != 1) + if (texture.ImageCount_C28 != 1) { return data; }