Mapping entry formatting.

master
Nabile Rahmani 2018-06-05 17:32:59 +02:00
parent 17e13ce564
commit 05cf22619a
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ namespace DotN64
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void WriteWord(uint address, uint value) => Write(OffsetAddress ? address - StartAddress : address, value);
public override string ToString() => $"[0x{StartAddress:X8}..0x{EndAddress:X8}] - {(Read != null ? "R" : "-")}{(Write != null ? "W" : "-")}";
public override string ToString() => $"0x{StartAddress:X8} .. 0x{EndAddress:X8} ({(Read != null ? "R" : string.Empty)}{(Write != null ? "W" : string.Empty)})";
#endregion
}
}