rjx-mirror/Ryujinx.Graphics.Gpu/State/Bool.cs

18 lines
275 B
C#
Raw Normal View History

2019-10-13 06:02:07 +00:00
namespace Ryujinx.Graphics.Gpu.State
{
struct Bool
{
private uint _value;
public bool IsTrue()
{
return (_value & 1) != 0;
}
public bool IsFalse()
{
return (_value & 1) == 0;
}
}
}