From d7c962063b280a198d14c3d040ee97cf7dbdf74c Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 13 Jan 2025 14:35:50 -0500 Subject: [PATCH] Make AddItemsFromDevices param easier to understand --- SabreTools.DatFiles/DatFile.Splitting.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SabreTools.DatFiles/DatFile.Splitting.cs b/SabreTools.DatFiles/DatFile.Splitting.cs index 9242565f..ac2e87bd 100644 --- a/SabreTools.DatFiles/DatFile.Splitting.cs +++ b/SabreTools.DatFiles/DatFile.Splitting.cs @@ -36,13 +36,13 @@ 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 /// Assumes items are bucketed by - public bool AddItemsFromDevices(bool dev, bool useSlotOptions) + public bool AddItemsFromDevices(bool deviceOnly, bool useSlotOptions) { - bool foundnew = AddItemsFromDevicesImpl(dev, useSlotOptions); - foundnew |= AddItemsFromDevicesImplDB(dev, useSlotOptions); + bool foundnew = AddItemsFromDevicesImpl(deviceOnly, useSlotOptions); + foundnew |= AddItemsFromDevicesImplDB(deviceOnly, useSlotOptions); return foundnew; }