mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 14:54:00 +00:00
18 lines
275 B
C#
18 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;
|
|
}
|
|
}
|
|
}
|