Ryujinx/Ryujinx.HLE/HOS/Kernel/KMemoryArrangeRegion.cs

16 lines
383 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS.Kernel
{
2018-12-01 21:38:15 +01:00
internal struct KMemoryArrangeRegion
{
public ulong Address { get; private set; }
public ulong Size { get; private set; }
public ulong EndAddr => Address + Size;
2018-12-01 21:01:59 +01:00
public KMemoryArrangeRegion(ulong address, ulong size)
{
2018-12-01 21:24:37 +01:00
Address = address;
Size = size;
}
}
}