diff --git a/PluginBase.cs b/PluginBase.cs
index 9ab5b87f9..ecdbe2798 100644
--- a/PluginBase.cs
+++ b/PluginBase.cs
@@ -63,7 +63,7 @@ public class PluginBase
/// List of read-only filesystem plugins
public readonly SortedDictionary ReadOnlyFilesystems;
/// List of writable floppy image plugins
- public readonly SortedDictionary WritableFloppyImages;
+ public readonly SortedDictionary WritableFloppyImages;
/// List of writable media image plugins
public readonly SortedDictionary WritableImages;
@@ -77,7 +77,7 @@ public class PluginBase
WritableImages = new SortedDictionary();
Filters = new SortedDictionary();
FloppyImages = new SortedDictionary();
- WritableFloppyImages = new SortedDictionary();
+ WritableFloppyImages = new SortedDictionary();
Archives = new SortedDictionary();
ByteAddressableImages = new SortedDictionary();
}
@@ -119,7 +119,7 @@ public class PluginBase
foreach(Type type in pluginRegister.GetAllWritableFloppyImagePlugins() ?? Enumerable.Empty())
if(Activator.CreateInstance(type) is IWritableFloppyImage plugin &&
!WritableFloppyImages.ContainsKey(plugin.Name.ToLower()))
- WritableFloppyImages.Add(plugin.Name.ToLower(), plugin);
+ WritableFloppyImages.Add(plugin.Name.ToLower(), type);
foreach(Type type in pluginRegister.GetAllWritableImagePlugins() ?? Enumerable.Empty())
if(Activator.CreateInstance(type) is IBaseWritableImage plugin &&