diff --git a/BizHawk.MultiClient/tools/HexEditor.cs b/BizHawk.MultiClient/tools/HexEditor.cs index 93d62ef78a..fec81f8a72 100644 --- a/BizHawk.MultiClient/tools/HexEditor.cs +++ b/BizHawk.MultiClient/tools/HexEditor.cs @@ -152,7 +152,6 @@ namespace BizHawk.MultiClient public string GenerateMemoryViewString() { StringBuilder rowStr = new StringBuilder(); - addrOffset = (NumDigits % 4) * 9; //TODO: I dont think this has any purpose here anymore, if this needs to be calculated, it could be done outside the frame loop for (int i = 0; i < RowsVisible; i++) { @@ -160,8 +159,7 @@ namespace BizHawk.MultiClient addr = (row << 4); if (addr >= Domain.Size) break; - //rowStr.AppendFormat(NumDigitsStr, addr); - + for (int j = 0; j < 16; j += DataSize) { if (addr + j < Domain.Size) @@ -965,6 +963,7 @@ namespace BizHawk.MultiClient private Point GetAddressCoordinates(int address) { + addrOffset = (NumDigits % 4) * 9; switch (DataSize) { default: