Update enum handling, part 1

This commit is contained in:
Matt Nadareski
2023-04-20 10:34:37 -04:00
parent 8921a09118
commit 1f601dfa3f
11 changed files with 1332 additions and 1123 deletions

View File

@@ -490,7 +490,7 @@ namespace SabreTools.DatFiles.Formats
RomOf = reader.GetAttribute("romof"),
SampleOf = reader.GetAttribute("sampleof"),
MachineType = (machineType == 0x0 ? MachineType.NULL : machineType),
MachineType = (machineType == 0x0 ? MachineType.None : machineType),
};
if (Header.Type == "SuperDAT" && !keep)