parent
8c41b09108
commit
f7448495b0
|
@ -90,7 +90,7 @@ namespace BizHawk.Client.Common
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var path = fullPath.SubstringBefore('|');
|
var path = fullPath.SubstringBefore('|');
|
||||||
data = RomGame.Is3DSRom(path)
|
data = RomGame.Is3DSRom(Path.GetExtension(path).ToUpperInvariant())
|
||||||
? Array.Empty<byte>()
|
? Array.Empty<byte>()
|
||||||
: File.ReadAllBytes(path);
|
: File.ReadAllBytes(path);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue