We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 559c8ef commit 24f69ebCopy full SHA for 24f69eb
src/BizHawk.Client.Common/RomLoader.cs
@@ -199,6 +199,14 @@ private bool HandleArchiveBinding(HawkFile file)
199
{
200
file.BindSoleItemOf(RomFileExtensions.AutoloadFromArchive);
201
}
202
+ // ...including unrecognised extensions that the user has set a platform for
203
+ if (!file.IsBound)
204
+ {
205
+ var exts = _config.PreferredPlatformsForExtensions.Where(static kvp => !string.IsNullOrEmpty(kvp.Value))
206
+ .Select(static kvp => kvp.Key)
207
+ .ToList();
208
+ if (exts.Count is not 0) file.BindSoleItemOf(exts);
209
+ }
210
211
// if we have an archive and need to bind something, then pop the dialog
212
if (file.IsArchive && !file.IsBound)
0 commit comments