From 2dad788dc74259187271a6c385f370c1a49e8918 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 15 Nov 2021 03:40:58 +0000 Subject: [PATCH] Fix detection of byte addressable images. --- PluginBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluginBase.cs b/PluginBase.cs index cfc2a8aca..e3c5af65f 100644 --- a/PluginBase.cs +++ b/PluginBase.cs @@ -148,7 +148,7 @@ public class PluginBase !Archives.ContainsKey(plugin.Name.ToLower())) Archives.Add(plugin.Name.ToLower(), plugin); - foreach(Type type in pluginRegister.GetAllArchivePlugins() ?? Enumerable.Empty()) + foreach(Type type in pluginRegister.GetAllByteAddressablePlugins() ?? Enumerable.Empty()) if(type.GetConstructor(Type.EmptyTypes)?.Invoke(new object[] {}) is IByteAddressableImage plugin && !ByteAddressableImages.ContainsKey(plugin.Name.ToLower()))