Fix an error message from Cheats displaying an address in decimal

This commit is contained in:
YoshiRulz 2024-12-19 06:20:33 +10:00
parent 4bf29a6b00
commit cf90a96af0
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ namespace BizHawk.Client.EmuHawk
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;
}