mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Replace AsEnumValue for performance
This commit is contained in:
@@ -49,7 +49,7 @@ namespace SabreTools.DatTools
|
||||
{
|
||||
// If we are using tags from the DAT, set the proper input for split type unless overridden
|
||||
if (useTags && SplitType == MergingFlag.None)
|
||||
SplitType = datFile.Header.GetStringFieldValue(Models.Metadata.Header.ForceMergingKey).AsEnumValue<MergingFlag>();
|
||||
SplitType = datFile.Header.GetStringFieldValue(Models.Metadata.Header.ForceMergingKey).AsMergingFlag();
|
||||
|
||||
// Run internal splitting
|
||||
switch (SplitType)
|
||||
|
||||
Reference in New Issue
Block a user