From 42e685cbb84447f3fe93f25551e87033a764d793 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 19 Mar 2024 14:12:04 -0400 Subject: [PATCH] Enforce statsOnly parameter for IDDB AddItem --- SabreTools.DatFiles/ItemDictionaryDB.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SabreTools.DatFiles/ItemDictionaryDB.cs b/SabreTools.DatFiles/ItemDictionaryDB.cs index 65d43afd..c1622ad8 100644 --- a/SabreTools.DatFiles/ItemDictionaryDB.cs +++ b/SabreTools.DatFiles/ItemDictionaryDB.cs @@ -122,7 +122,7 @@ namespace SabreTools.DatFiles /// Index of the machine related to the item /// True to only add item statistics while parsing, false otherwise (default) /// The index for the added item, -1 on error - public long AddItem(DatItem item, long machineIndex, bool statsOnly = false) + public long AddItem(DatItem item, long machineIndex, bool statsOnly) { // If we have a Disk, Media, or Rom, clean the hash data if (item is Disk disk)