Fix screwup in romloader xmlgame handling
This may have only affected Saturn in practice. Whoops! Fixes #2557.
This commit is contained in:
parent
9ed56cdc6e
commit
75a655fdd8
|
@ -523,7 +523,7 @@ namespace BizHawk.Client.Common
|
||||||
Comm = nextComm,
|
Comm = nextComm,
|
||||||
Game = game,
|
Game = game,
|
||||||
Roms = xmlGame.Assets
|
Roms = xmlGame.Assets
|
||||||
.Where(kvp => !Disc.IsValidExtension(kvp.Key))
|
.Where(kvp => !Disc.IsValidExtension(Path.GetExtension(kvp.Key)))
|
||||||
.Select(kvp => (IRomAsset)new RomAsset
|
.Select(kvp => (IRomAsset)new RomAsset
|
||||||
{
|
{
|
||||||
RomData = kvp.Value,
|
RomData = kvp.Value,
|
||||||
|
|
Loading…
Reference in New Issue