diff --git a/BizHawk.Emulation.Common/Base Implementations/MemoryDomain.cs b/BizHawk.Emulation.Common/Base Implementations/MemoryDomain.cs
index 2814ba972f..a197217609 100644
--- a/BizHawk.Emulation.Common/Base Implementations/MemoryDomain.cs
+++ b/BizHawk.Emulation.Common/Base Implementations/MemoryDomain.cs
@@ -9,18 +9,6 @@ namespace BizHawk.Emulation.Common
{
public enum Endian { Big, Little, Unknown }
- public readonly string Name;
-
- ///
- /// Special note: if this is 0, the memorydomain is 0x100000000 (full 32bits) in size.
- /// This was judged to be less of a mess than using a bunch of longs everywhere.
- ///
- public readonly int Size;
- public readonly Endian EndianType;
-
- public readonly Func PeekByte;
- public readonly Action PokeByte;
-
public MemoryDomain(string name, int size, Endian endian, Func peekByte, Action pokeByte)
{
Name = name;
@@ -30,12 +18,23 @@ namespace BizHawk.Emulation.Common
PokeByte = pokeByte;
}
+ public string Name { get; private set; }
+
+ ///
+ /// Special note: if this is 0, the memorydomain is 0x100000000 (full 32bits) in size.
+ /// This was judged to be less of a mess than using a bunch of longs everywhere.
+ ///
+ public int Size { get; private set; }
+
+ public Endian EndianType { get; private set; }
+
+ public Func PeekByte { get; private set; }
+
+ public Action PokeByte { get; private set; }
+
///
/// create a memorydomain that references an unmanaged memory block
///
- ///
- ///
- ///
/// must remain valid as long as the MemoryDomain exists!
/// if false, writes will be ignored
///
@@ -72,9 +71,6 @@ namespace BizHawk.Emulation.Common
///
/// create a memorydomain that references an unmanaged memory block with 16 bit swaps
///
- ///
- ///
- ///
/// must remain valid as long as the MemoryDomain exists!
/// if false, writes will be ignored
///