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