Overloaded MemoryMapping constructor, to make life a little easier...

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-03-10 11:34:29 +00:00
parent 2652463106
commit 00fe5eb0b2
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ namespace EightBit
this.Access = access;
}
public MemoryMapping(Memory memory, ushort begin, Mask mask, AccessLevel access)
: this(memory, begin, (ushort)mask, access)
{
}
public Memory Memory { get; set; }
public ushort Begin { get; set; }