mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
17 lines
275 B
C#
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;
|
|
}
|
|
}
|
|
}
|