Ryujinx/Ryujinx.Graphics.Gpu/State/GpuVa.cs

19 lines
307 B
C#
Raw Normal View History

2019-10-13 08:02:07 +02:00
namespace Ryujinx.Graphics.Gpu.State
{
struct GpuVa
{
public uint High;
public uint Low;
public ulong Pack()
{
return Low | ((ulong)High << 32);
}
public bool IsNullPtr()
{
return (Low | High) == 0;
}
}
}