mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-11-30 06:17:31 +00:00
More analysis suggested tidy ups.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -6,25 +6,20 @@ namespace EightBit
|
||||
{
|
||||
public class MemoryMapping
|
||||
{
|
||||
private Memory memory;
|
||||
private ushort begin;
|
||||
private ushort mask;
|
||||
private AccessLevel access;
|
||||
|
||||
public MemoryMapping(Memory memory, ushort begin, ushort mask, AccessLevel access)
|
||||
{
|
||||
this.memory = memory;
|
||||
this.begin = begin;
|
||||
this.mask = mask;
|
||||
this.access = access;
|
||||
this.Memory = memory;
|
||||
this.Begin = begin;
|
||||
this.Mask = mask;
|
||||
this.Access = access;
|
||||
}
|
||||
|
||||
public Memory Memory { get => this.memory; set => this.memory = value; }
|
||||
public Memory Memory { get; set; }
|
||||
|
||||
public ushort Begin { get => this.begin; set => this.begin = value; }
|
||||
public ushort Begin { get; set; }
|
||||
|
||||
public ushort Mask { get => this.mask; set => this.mask = value; }
|
||||
public ushort Mask { get; set; }
|
||||
|
||||
public AccessLevel Access { get => this.access; set => this.access = value; }
|
||||
public AccessLevel Access { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user