This commit is contained in:
adelikat 2020-03-15 18:37:49 -05:00
parent 250d3b6c49
commit 5cc1c234cd
1 changed files with 5 additions and 5 deletions

View File

@ -8,11 +8,6 @@ namespace BizHawk.Emulation.Common
{ {
public class GameInfo public class GameInfo
{ {
public bool IsRomStatusBad()
{
return Status == RomStatus.BadDump || Status == RomStatus.Overdump;
}
public string Name { get; set; } public string Name { get; set; }
public string System { get; set; } public string System { get; set; }
public string Hash { get; set; } public string Hash { get; set; }
@ -179,5 +174,10 @@ namespace BizHawk.Emulation.Common
{ {
return game == null || game.System == "NULL"; return game == null || game.System == "NULL";
} }
public static bool IsRomStatusBad(this GameInfo game)
{
return game.Status == RomStatus.BadDump || game.Status == RomStatus.Overdump;
}
} }
} }