Skip to content

Commit

Permalink
Fix an error message from Cheats displaying an address in decimal
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshiRulz committed Dec 18, 2024
1 parent 4bf29a6 commit cf90a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BizHawk.Client.EmuHawk/tools/Cheats/CheatEdit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ public Cheat GetCheat()
comparisonType);
}

MessageBox.Show($"{address} is not a valid address for the domain {domain.Name}", "Index out of range", MessageBoxButtons.OK, MessageBoxIcon.Warning);
MessageBox.Show($"0x{address:X} is not a valid address for the domain {domain.Name}", "Index out of range", MessageBoxButtons.OK, MessageBoxIcon.Warning);
return Cheat.Separator;
}

Expand Down

0 comments on commit cf90a96

Please sign in to comment.