Ryujinx/Ryujinx.Graphics.Gpu/State/Bool.cs
2020-01-09 02:13:00 +01:00

17 lines
275 B
C#

namespace Ryujinx.Graphics.Gpu.State
{
struct Bool
{
private uint _value;
public bool IsTrue()
{
return (_value & 1) != 0;
}
public bool IsFalse()
{
return (_value & 1) == 0;
}
}
}