From a2048a68d231734d919f8a40c9c054204afaed5a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 20 Mar 2024 01:32:15 -0400 Subject: [PATCH] Force statsOnly to be required for IDDB AddItem --- SabreTools.DatFiles/ItemDictionaryDB.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SabreTools.DatFiles/ItemDictionaryDB.cs b/SabreTools.DatFiles/ItemDictionaryDB.cs index 5a08d440..e98b5443 100644 --- a/SabreTools.DatFiles/ItemDictionaryDB.cs +++ b/SabreTools.DatFiles/ItemDictionaryDB.cs @@ -177,9 +177,10 @@ namespace SabreTools.DatFiles /// /// Item data to validate /// Index of the machine related to the item - /// True to only add item statistics while parsing, false otherwise (default) + /// Index of the source related to the item + /// True to only add item statistics while parsing, false otherwise /// The index for the added item, -1 on error - public long AddItem(DatItem item, long machineIndex, long sourceIndex, bool statsOnly = false) + public long AddItem(DatItem item, long machineIndex, long sourceIndex, bool statsOnly) { // If we have a Disk, Media, or Rom, clean the hash data if (item is Disk disk)