mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-10 12:17:51 +02:00
Initial work
This commit is contained in:
17
Ryujinx.Graphics.Gpu/State/Bool.cs
Normal file
17
Ryujinx.Graphics.Gpu/State/Bool.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace Ryujinx.Graphics.Gpu.State
|
||||
{
|
||||
struct Bool
|
||||
{
|
||||
private uint _value;
|
||||
|
||||
public bool IsTrue()
|
||||
{
|
||||
return (_value & 1) != 0;
|
||||
}
|
||||
|
||||
public bool IsFalse()
|
||||
{
|
||||
return (_value & 1) == 0;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user