From 75a655fdd8d00a7613c87bf9a7687c50213ea28c Mon Sep 17 00:00:00 2001 From: nattthebear Date: Sat, 9 Jan 2021 11:45:16 -0500 Subject: [PATCH] Fix screwup in romloader xmlgame handling This may have only affected Saturn in practice. Whoops! Fixes #2557. --- src/BizHawk.Client.Common/RomLoader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Client.Common/RomLoader.cs b/src/BizHawk.Client.Common/RomLoader.cs index 8f032a3b4c..939158a8a7 100644 --- a/src/BizHawk.Client.Common/RomLoader.cs +++ b/src/BizHawk.Client.Common/RomLoader.cs @@ -523,7 +523,7 @@ namespace BizHawk.Client.Common Comm = nextComm, Game = game, Roms = xmlGame.Assets - .Where(kvp => !Disc.IsValidExtension(kvp.Key)) + .Where(kvp => !Disc.IsValidExtension(Path.GetExtension(kvp.Key))) .Select(kvp => (IRomAsset)new RomAsset { RomData = kvp.Value,