1
0
mirror of synced 2024-11-12 02:00:50 +01:00
This commit is contained in:
KillzXGaming 2019-04-07 19:40:00 -04:00
parent e830ca7278
commit 5c5e130613
7 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -195,7 +195,7 @@ namespace FirstPlugin
}
private void SwizzleNum_ValueChanged(object sender, EventArgs e) {
SelectedTexSettings.swizzle &= GX2.SizzleMask;
SelectedTexSettings.swizzle &= GX2.SwizzleMask;
SelectedTexSettings.swizzle |= (uint)SwizzleNum.Value << 8;
}

View File

@ -6,7 +6,7 @@ namespace Switch_Toolbox.Library
{
public class GX2
{
public const uint SizzleMask = 0xFF00FF;
public const uint SwizzleMask = 0xFF00FF;
//Some enums and parts from https://github.com/jam1garner/Smash-Forge/blob/master/Smash%20Forge/Filetypes/Textures/GTX.cs
public class GX2Surface