0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-25 02:45:45 +00:00
ryujinx-fork/Ryujinx.Graphics.Gpu/State/Boolean32.cs

16 lines
329 B
C#
Raw Normal View History

namespace Ryujinx.Graphics.Gpu.State
{
/// <summary>
/// Boolean value, stored as a 32-bits integer in memory.
/// </summary>
struct Boolean32
{
private uint _value;
public static implicit operator bool(Boolean32 value)
{
return (value._value & 1) != 0;
}
}
}