diff --git a/SabreTools.DatFiles/DatFile.Splitting.cs b/SabreTools.DatFiles/DatFile.Splitting.cs
index 8fe48a8d..85de7802 100644
--- a/SabreTools.DatFiles/DatFile.Splitting.cs
+++ b/SabreTools.DatFiles/DatFile.Splitting.cs
@@ -613,14 +613,14 @@ namespace SabreTools.DatFiles
///
/// Use device_ref and optionally slotoption tags to add items to the children
///
- /// True if only child device sets are touched, false for non-device sets (default)
+ /// True if only child device sets are touched, false for non-device sets (default)
/// True if slotoptions tags are used as well, false otherwise
/// True if any items were processed, false otherwise
///
/// Applies to .
/// Assumes items are bucketed by .
///
- private bool AddItemsFromDevicesImpl(bool dev, bool useSlotOptions)
+ private bool AddItemsFromDevicesImpl(bool deviceOnly, bool useSlotOptions)
{
bool foundnew = false;
List buckets = [.. Items.Keys];
@@ -634,7 +634,7 @@ namespace SabreTools.DatFiles
continue;
// If the machine (is/is not) a device, we want to continue
- if (dev ^ (datItems[0].GetFieldValue(DatItem.MachineKey)!.GetBoolFieldValue(Models.Metadata.Machine.IsDeviceKey) == true))
+ if (deviceOnly ^ (datItems[0].GetFieldValue(DatItem.MachineKey)!.GetBoolFieldValue(Models.Metadata.Machine.IsDeviceKey) == true))
continue;
// Get all device reference names from the current machine
@@ -760,14 +760,14 @@ namespace SabreTools.DatFiles
///
/// Use device_ref and optionally slotoption tags to add items to the children
///
- /// True if only child device sets are touched, false for non-device sets
+ /// True if only child device sets are touched, false for non-device sets
/// True if slotoptions tags are used as well, false otherwise
/// True if any items were processed, false otherwise
///
/// Applies to .
/// Assumes items are bucketed by .
///
- private bool AddItemsFromDevicesImplDB(bool dev, bool useSlotOptions)
+ private bool AddItemsFromDevicesImplDB(bool deviceOnly, bool useSlotOptions)
{
bool foundnew = false;
List buckets = [.. ItemsDB.SortedKeys];
@@ -787,7 +787,7 @@ namespace SabreTools.DatFiles
continue;
// If the machine (is/is not) a device, we want to continue
- if (dev ^ (machine.Value.GetBoolFieldValue(Models.Metadata.Machine.IsDeviceKey) == true))
+ if (deviceOnly ^ (machine.Value.GetBoolFieldValue(Models.Metadata.Machine.IsDeviceKey) == true))
continue;
// Get all device reference names from the current machine