From 7a729192fbf3abc70b4c8ff067d8d6830f6ee404 Mon Sep 17 00:00:00 2001 From: Carl Johnsen Date: Wed, 4 Feb 2026 08:17:48 +0100 Subject: [PATCH] The partitions collection should only be set in the core parsing --- proprietary/DiskImage/Partition/GPT.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/proprietary/DiskImage/Partition/GPT.cs b/proprietary/DiskImage/Partition/GPT.cs index 89ebf502b..5ef628bf9 100644 --- a/proprietary/DiskImage/Partition/GPT.cs +++ b/proprietary/DiskImage/Partition/GPT.cs @@ -200,9 +200,7 @@ public class GPT : IPartitionTable if (m_partitions != null) return false; - m_partitions = []; - - if (m_rawDisk == null || !m_parsed) + if (!m_parsed) return false; // Calculate the byte offset for the partition entries