2019-10-26 13:50:52 -04:00
|
|
|
namespace Ryujinx.Graphics.Gpu.State
|
|
|
|
{
|
2019-12-31 11:32:06 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Boolean value, stored as a 32-bits integer in memory.
|
|
|
|
/// </summary>
|
2019-10-26 13:50:52 -04:00
|
|
|
struct Boolean32
|
|
|
|
{
|
|
|
|
private uint _value;
|
|
|
|
|
|
|
|
public static implicit operator bool(Boolean32 value)
|
|
|
|
{
|
|
|
|
return (value._value & 1) != 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|