Ejemplo n.º 1
0
        /// <inheritdoc />
        public override uint RefreshCfgCrc(out bool changed)
        {
            changed = false;
            var cfgCrc = 0u;

            if (IsValid)
            {
                cfgCrc = ResolvedRom.RefreshCfgCrc(out changed);
            }
            return(cfgCrc);
        }
Ejemplo n.º 2
0
        /// <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);
        }