Remove unnecessary RemapDatItemToMachine method

This commit is contained in:
Matt Nadareski
2026-04-16 13:00:13 -04:00
parent 096f9d4b96
commit b8966f5e37
4 changed files with 6 additions and 46 deletions

View File

@@ -447,17 +447,6 @@ namespace SabreTools.Metadata.DatFiles
/// </summary>
public IDictionary<long, Source> GetSources() => _sources;
/// <summary>
/// Remap an item to a new machine index without validation
/// </summary>
/// <param name="itemIndex">Current item index</param>
/// <param name="machineIndex">New machine index</param>
public void RemapDatItemToMachine(long itemIndex, long machineIndex)
{
if (_items.TryGetValue(itemIndex, out var item))
item.MachineIndex = machineIndex;
}
/// <summary>
/// Remove a key from the file dictionary if it exists
/// </summary>