correct 3DS rom check in XmlGame

fixes 8c41b09108
This commit is contained in:
CasualPokePlayer 2023-07-28 05:37:47 -07:00
parent 8c41b09108
commit f7448495b0
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ namespace BizHawk.Client.Common
else
{
var path = fullPath.SubstringBefore('|');
data = RomGame.Is3DSRom(path)
data = RomGame.Is3DSRom(Path.GetExtension(path).ToUpperInvariant())
? Array.Empty<byte>()
: File.ReadAllBytes(path);
}