Fix build errors hopefully

This commit is contained in:
KillzXGaming 2019-08-27 16:58:46 -04:00
parent bb77a80ad3
commit 4d2d3502eb
4 changed files with 6 additions and 11 deletions

View file

@ -321,7 +321,7 @@ namespace FirstPlugin
public OriginX HorizontalAlignment
{
get => (OriginX)((TextAlignment >> 2) & 0x3);
get { return (OriginX)((TextAlignment >> 2) & 0x3); }
set
{
TextAlignment &= unchecked((byte)(~0xC));
@ -331,7 +331,7 @@ namespace FirstPlugin
public OriginX VerticalAlignment
{
get => (OriginX)((TextAlignment) & 0x3);
get { return (OriginX)((TextAlignment) & 0x3); }
set
{
TextAlignment &= unchecked((byte)(~0x3));
@ -624,7 +624,7 @@ namespace FirstPlugin
public OriginX originX
{
get => (OriginX)((_flags2 & 0xC0) >> 6);
get { return (OriginX)((_flags2 & 0xC0) >> 6); }
set
{
_flags2 &= unchecked((byte)(~0xC0));
@ -634,7 +634,7 @@ namespace FirstPlugin
public OriginY originY
{
get => (OriginY)((_flags2 & 0x30) >> 4);
get { return (OriginY)((_flags2 & 0x30) >> 4); }
set
{
_flags2 &= unchecked((byte)(~0x30));
@ -644,7 +644,7 @@ namespace FirstPlugin
public OriginX ParentOriginX
{
get => (OriginX)((_flags2 & 0xC) >> 2);
get { return (OriginX)((_flags2 & 0xC) >> 2); }
set
{
_flags2 &= unchecked((byte)(~0xC));
@ -654,7 +654,7 @@ namespace FirstPlugin
public OriginY ParentOriginY
{
get => (OriginY)((_flags2 & 0x3));
get { return (OriginY)((_flags2 & 0x3)); }
set
{
_flags2 &= unchecked((byte)(~0x3));

View file

@ -5580,11 +5580,6 @@
Gets or sets the pixel swizzling stride.
</summary>
</member>
<member name="P:Syroot.NintenTools.Bfres.Texture.UseSRGB">
<summary>
Gets or sets the desired texture data buffer format.
</summary>
</member>
<member name="P:Syroot.NintenTools.Bfres.Texture.Format">
<summary>
Gets or sets the desired texture data buffer format.