Fix broken GetKeyDB and related

This commit is contained in:
Matt Nadareski
2025-01-14 14:22:18 -05:00
parent 688e7772e4
commit 222944fae6
13 changed files with 51 additions and 113 deletions

View File

@@ -175,7 +175,7 @@ namespace SabreTools.DatItems.Formats
}
/// <inheritdoc/>
public override string GetKeyDB(ItemKey bucketedBy, Source? source, bool lower = true, bool norename = true)
public override string GetKeyDB(ItemKey bucketedBy, Machine? machine, Source? source, bool lower = true, bool norename = true)
{
// Set the output key as the default blank string
string? key;
@@ -193,7 +193,7 @@ namespace SabreTools.DatItems.Formats
// Let the base handle generic stuff
default:
return base.GetKeyDB(bucketedBy, source, lower, norename);
return base.GetKeyDB(bucketedBy, machine, source, lower, norename);
}
// Double and triple check the key for corner cases