diff --git a/PluginBase.cs b/PluginBase.cs
index 9cc0ebd..155061d 100644
--- a/PluginBase.cs
+++ b/PluginBase.cs
@@ -65,7 +65,7 @@ public class PluginBase
/// List of writable floppy image plugins
public readonly SortedDictionary WritableFloppyImages;
/// List of writable media image plugins
- public readonly SortedDictionary WritableImages;
+ public readonly SortedDictionary WritableImages;
/// Initializes the plugins lists
public PluginBase()
@@ -74,7 +74,7 @@ public class PluginBase
ReadOnlyFilesystems = new SortedDictionary();
Partitions = new SortedDictionary();
MediaImages = new SortedDictionary();
- WritableImages = new SortedDictionary();
+ WritableImages = new SortedDictionary();
Filters = new SortedDictionary();
FloppyImages = new SortedDictionary();
WritableFloppyImages = new SortedDictionary();
@@ -124,7 +124,7 @@ public class PluginBase
foreach(Type type in pluginRegister.GetAllWritableImagePlugins() ?? Enumerable.Empty())
if(Activator.CreateInstance(type) is IBaseWritableImage plugin &&
!WritableImages.ContainsKey(plugin.Name.ToLower()))
- WritableImages.Add(plugin.Name.ToLower(), plugin);
+ WritableImages.Add(plugin.Name.ToLower(), type);
foreach(Type type in pluginRegister.GetAllArchivePlugins() ?? Enumerable.Empty())
if(Activator.CreateInstance(type) is IArchive plugin &&