From 60e6a75d5ef2b39ab3a35eb273ff9f9f635300ae Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sat, 20 Sep 2025 10:40:19 -0400 Subject: [PATCH] Make public again --- .../Wrappers/SecuROMMatroschkaPackage.Extraction.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SabreTools.Serialization/Wrappers/SecuROMMatroschkaPackage.Extraction.cs b/SabreTools.Serialization/Wrappers/SecuROMMatroschkaPackage.Extraction.cs index 47b6a31e..e58bbfa3 100644 --- a/SabreTools.Serialization/Wrappers/SecuROMMatroschkaPackage.Extraction.cs +++ b/SabreTools.Serialization/Wrappers/SecuROMMatroschkaPackage.Extraction.cs @@ -58,7 +58,7 @@ namespace SabreTools.Serialization.Wrappers if (includeDebug) Console.WriteLine($"Attempting to extract {filename}"); // Read the file - var data = ReadFile(entry, includeDebug); + var data = ReadFileData(entry, includeDebug); if (data == null) return false; @@ -91,7 +91,8 @@ namespace SabreTools.Serialization.Wrappers /// Entry being extracted /// True to include debug data, false otherwise /// Byte array of the file data if successful, null otherwise - private byte[]? ReadFile(MatroshkaEntry entry, bool includeDebug) + /// Marked as public because it is needed outside of file extraction + public byte[]? ReadFileData(MatroshkaEntry entry, bool includeDebug) { // Skip if the entry is incomplete if (entry.Path == null || entry.MD5 == null)