diff --git a/PKHeX.Core/Saves/SaveFileMetadata.cs b/PKHeX.Core/Saves/SaveFileMetadata.cs index f2d8f8307..c73f56fc5 100644 --- a/PKHeX.Core/Saves/SaveFileMetadata.cs +++ b/PKHeX.Core/Saves/SaveFileMetadata.cs @@ -30,10 +30,12 @@ namespace PKHeX.Core private byte[] Footer = Array.Empty(); // .dsv private byte[] Header = Array.Empty(); // .gci + private string BAKSuffix => $" [{SAV.ShortSummary}].bak"; + /// /// Simple summary of the save file, to help differentiate it from other save files with the same filename. /// - public string BAKName => $"{FileName} [{SAV.ShortSummary}].bak"; + public string BAKName => FileName + BAKSuffix; public SaveFileMetadata(SaveFile sav) => SAV = sav; @@ -89,7 +91,7 @@ namespace PKHeX.Core { FilePath = path; FileFolder = Path.GetDirectoryName(path); - FileName = GetFileName(path, BAKName); + FileName = GetFileName(path, BAKSuffix); } private static string? GetFileName(string path, string bak)