From 4e804bdf071b45789071c033f8dce388a5a9b9c4 Mon Sep 17 00:00:00 2001 From: reece394 <31659691+reece394@users.noreply.github.com> Date: Tue, 8 Jul 2025 23:04:57 +0100 Subject: [PATCH] Add registry.dat --- Registry/IRegistry.cs | 3 ++- Registry/RegistryBase.cs | 3 +++ Registry/TransactionLog.cs | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Registry/IRegistry.cs b/Registry/IRegistry.cs index d6292a7..cb1d6b9 100644 --- a/Registry/IRegistry.cs +++ b/Registry/IRegistry.cs @@ -38,5 +38,6 @@ public enum HiveTypeEnum [Description("DEFAULT")] Default = 17, [Description("User")] User = 18, [Description("UserClasses")] UserClasses = 19, - [Description("settings")] settings = 20 + [Description("settings")] settings = 20, + [Description("Registry")] Registry = 21 } diff --git a/Registry/RegistryBase.cs b/Registry/RegistryBase.cs index 592a866..54d2a40 100644 --- a/Registry/RegistryBase.cs +++ b/Registry/RegistryBase.cs @@ -173,6 +173,9 @@ internal void Initialize() case "settings.dat": HiveType = HiveTypeEnum.settings; break; + case "registry.dat": + HiveType = HiveTypeEnum.Registry; + break; default: HiveType = HiveTypeEnum.Other; break; diff --git a/Registry/TransactionLog.cs b/Registry/TransactionLog.cs index 0b6e846..1b92327 100644 --- a/Registry/TransactionLog.cs +++ b/Registry/TransactionLog.cs @@ -168,6 +168,9 @@ private void Initialize() case "settings.dat": HiveType = HiveTypeEnum.settings; break; + case "registry.dat": + HiveType = HiveTypeEnum.Registry; + break; default: HiveType = HiveTypeEnum.Other; break;