/// <inheritdoc /> public override uint RefreshCfgCrc(out bool changed) { changed = false; var cfgCrc = 0u; if (IsValid) { cfgCrc = ResolvedRom.RefreshCfgCrc(out changed); } return(cfgCrc); }
/// <inheritdoc /> public override bool Validate() { var isValid = ResolvedRom != null; if (!isValid) { ResolvedRom = Rom.Create(RomPath, ConfigPath); } IsValid = ResolvedRom != null; if (IsValid) { isValid = ResolvedRom.Validate(); } return(isValid); }