One last swizzle fix for the image editor and bflim

This commit is contained in:
KillzXGaming 2019-08-25 21:01:47 -04:00
parent 374488c992
commit 27abdb52fb
2 changed files with 1 additions and 3 deletions

View file

@ -550,7 +550,7 @@ namespace FirstPlugin
(uint)MipCount (uint)MipCount
); );
image.Swizzle = (byte)surface.swizzle; image.Swizzle = surface.swizzle;
image.BflimFormat = FormatsWiiU.FirstOrDefault(x => x.Value == Format).Key; image.BflimFormat = FormatsWiiU.FirstOrDefault(x => x.Value == Format).Key;
image.Height = (ushort)surface.height; image.Height = (ushort)surface.height;
image.Width = (ushort)surface.width; image.Width = (ushort)surface.width;

View file

@ -459,8 +459,6 @@ namespace Toolbox.Library
else else
s = 0xd0000 | swizzle << 8; s = 0xd0000 | swizzle << 8;
s = 0xd0000 | swizzle << 8;
Console.WriteLine("swizzle " + s); Console.WriteLine("swizzle " + s);
uint blkWidth, blkHeight; uint blkWidth, blkHeight;