From 00fe5eb0b2f2806483f9c7e3b08db3fd4f2acebb Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Sun, 10 Mar 2019 11:34:29 +0000 Subject: [PATCH] Overloaded MemoryMapping constructor, to make life a little easier... Signed-off-by: Adrian Conlon --- EightBit/MemoryMapping.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/EightBit/MemoryMapping.cs b/EightBit/MemoryMapping.cs index d35efb6..22b8bb9 100644 --- a/EightBit/MemoryMapping.cs +++ b/EightBit/MemoryMapping.cs @@ -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; }