mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-14 00:47:37 +00:00
One last swizzle fix for the image editor and bflim
This commit is contained in:
parent
374488c992
commit
27abdb52fb
2 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue