mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 01:55:27 +00:00
16 lines
329 B
C#
16 lines
329 B
C#
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;
|
|
}
|
|
}
|
|
}
|