aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Kernel/KMemoryArrangeRegion.cs
blob: 7d66e2913b17a47449fa64482725f02f910e7c9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Ryujinx.HLE.HOS.Kernel
{
    struct KMemoryArrangeRegion
    {
        public ulong Address { get; private set; }
        public ulong Size    { get; private set; }

        public ulong EndAddr => Address + Size;

        public KMemoryArrangeRegion(ulong Address, ulong Size)
        {
            this.Address = Address;
            this.Size    = Size;
        }
    }
}