load NSF without annoyance

This commit is contained in:
zeromus 2015-12-31 12:37:48 -06:00
parent 91d070094d
commit 2765961984
1 changed files with 4 additions and 1 deletions

View File

@ -652,13 +652,16 @@ namespace BizHawk.Client.Common
rom = new RomGame(file);
game = rom.GameInfo;
}
else if(ext != null) // most extensions
else if (ext != null) // most extensions
{
rom = new RomGame(file);
//hacky for now
if (file.Extension.ToLowerInvariant() == ".exe")
rom.GameInfo.System = "PSX";
else if (file.Extension.ToLowerInvariant() == ".nsf")
rom.GameInfo.System = "NES";
if (string.IsNullOrEmpty(rom.GameInfo.System))
{