mirror of
https://github.com/libretro/Mesen.git
synced 2025-03-04 06:17:02 +00:00
Debugger: Hex Viewer - Display selection length in decimal and hex
This commit is contained in:
parent
585c908aa3
commit
e01bedee18
@ -449,7 +449,7 @@ namespace Mesen.GUI.Debugger.Controls
|
||||
private void UpdateLocationLabel()
|
||||
{
|
||||
if(ctrlHexBox.SelectionLength > 0) {
|
||||
this.lblLocation.Text = $"Selection: ${ctrlHexBox.SelectionStart.ToString("X4")} - ${(ctrlHexBox.SelectionStart + ctrlHexBox.SelectionLength - 1).ToString("X4")} ({ctrlHexBox.SelectionLength} bytes)";
|
||||
this.lblLocation.Text = $"Selection: ${ctrlHexBox.SelectionStart.ToString("X4")} - ${(ctrlHexBox.SelectionStart + ctrlHexBox.SelectionLength - 1).ToString("X4")}, {ctrlHexBox.SelectionLength} bytes (${ctrlHexBox.SelectionLength.ToString("X2")})";
|
||||
} else {
|
||||
this.lblLocation.Text = $"Location: ${ctrlHexBox.SelectionStart.ToString("X4")}";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user