public void ShowUnscraped(object sender, FilterEventArgs e) { GamesLibraryModel g = e.Item as GamesLibraryModel; if (g != null) { if (g.Coop == null && g.ESRB == null && g.Players == null) { // possibly not scraped - check for psx string system = g.System; int sysId = GSystem.GetSystemIdSubFirst(system); if (GSystem.GetSystemCode(sysId).ToLower() != "psx") { e.Accepted = true; } else { e.Accepted = false; } } else { e.Accepted = false; } } }
public void ShowLynx(object sender, FilterEventArgs e) { GamesLibraryModel g = e.Item as GamesLibraryModel; if (g != null) { int sysId = GSystem.GetSystemIdSubFirst(g.System); e.Accepted = (sysId == 3) ? true : false; } }