// Verifies the Sample set while calling SetSampleAuditResults int Mame32VerifySampleSet(int game) { audit_record *audit; int audit_records; int res; // perform the audit audit_records = audit_samples(game, &audit); res = ProcessAuditResults(game, audit, audit_records); if (audit_records > 0) free(audit); SetSampleAuditResults(game, res); return res; }
// Verifies the Sample set while calling SetSampleAuditResults int MameUIVerifySampleSet(int game) { audit_record *audit; int audit_records; int res; // perform the audit audit_records = audit_samples(MameUIGlobal(), drivers[game], &audit); res = ProcessAuditResults(game, audit, audit_records); if (audit_records > 0) global_free(audit); SetSampleAuditResults(game, res); return res; }
// Verifies the ROM set while calling SetRomAuditResults int Mame32VerifyRomSet(int game) { audit_record *audit; int audit_records; int res; // perform the audit audit_records = audit_images(game, AUDIT_VALIDATE_FAST, &audit); res = ProcessAuditResults(game, audit, audit_records); if (audit_records > 0) free(audit); SetRomAuditResults(game, res); return res; }
// Verifies the ROM set while calling SetRomAuditResults int MameUIVerifyRomSet(int game) { audit_record *audit; int audit_records; int res; // perform the audit audit_records = audit_images(MameUIGlobal(), drivers[game], AUDIT_VALIDATE_FAST, &audit); res = ProcessAuditResults(game, audit, audit_records); if (audit_records > 0) global_free(audit); SetRomAuditResults(game, res); return res; }