Only print BCA for nintendo dumps (#959)

This commit is contained in:
Deterous
2026-03-17 23:50:12 +09:00
committed by GitHub
parent 05098cc604
commit 5f760800eb
2 changed files with 10 additions and 4 deletions

View File

@@ -70,6 +70,7 @@
- Fix XGD3 SS validity check
- Update Portuguese translation
- Compress fixed SS
- Only print BCA for nintendo dumps
### 3.6.0 (2025-11-28)

View File

@@ -213,8 +213,9 @@ namespace MPF.Processors
long scsiErrors = GetSCSIErrorCount($"{basePath}.log");
info.CommonDiscInfo.ErrorsCount = scsiErrors == -1 ? "Error retrieving error count" : scsiErrors.ToString();
// Get BCA information, if available
info.Extras.BCA = GetBCA($"{basePath}.bca");
// Get BCA information, if available, for Nintendo discs only
if (mediaType == MediaType.NintendoGameCubeGameDisc || mediaType == MediaType.NintendoWiiOpticalDisc)
info.Extras.BCA = GetBCA($"{basePath}.bca");
// Bluray-specific options
if (mediaType == MediaType.BluRay || mediaType == MediaType.NintendoWiiUOpticalDisc)
@@ -373,6 +374,10 @@ namespace MPF.Processors
info.VersionAndEditions.Version = gcVersion ?? info.VersionAndEditions.Version;
}
// Get BCA information, if available, and not already set
if (!string.IsNullOrEmpty(info.Extras.BCA))
info.Extras.BCA = GetBCA($"{basePath}.bca");
break;
case RedumpSystem.SegaMegaCDSegaCD:
@@ -989,8 +994,8 @@ namespace MPF.Processors
"HD DVD-RAM" => MediaType.HDDVD,
"HD DVD-R" => MediaType.HDDVD,
"NINTENDO" => MediaType.NintendoWiiOpticalDisc, // Maybe also GC?
"RESERVED5" => MediaType.NintendoWiiOpticalDisc, // Maybe also GC?
"NINTENDO" => MediaType.NintendoWiiOpticalDisc, // Also GC
"RESERVED5" => MediaType.NintendoWiiOpticalDisc, // Also GC
"RESERVED1" => null,
"RESERVED2" => null,