From cf90a96af0aa0d60f1c29314689c7770ef2ce6f6 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Thu, 19 Dec 2024 06:20:33 +1000 Subject: [PATCH] Fix an error message from Cheats displaying an address in decimal --- src/BizHawk.Client.EmuHawk/tools/Cheats/CheatEdit.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Client.EmuHawk/tools/Cheats/CheatEdit.cs b/src/BizHawk.Client.EmuHawk/tools/Cheats/CheatEdit.cs index 7b8ec3bdeb..1d83535f48 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Cheats/CheatEdit.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Cheats/CheatEdit.cs @@ -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; }