Fix XGD media type outputs (fixes #441)

This commit is contained in:
Matt Nadareski
2022-12-19 12:38:18 -08:00
parent b4a079b65f
commit 5cf3eca9eb
3 changed files with 6 additions and 10 deletions

View File

@@ -447,11 +447,8 @@ namespace MPF.Modules.DiscImageCreator
// Deal with the layerbreaks
if (this.Type == MediaType.DVD)
{
if (!options.EnableRedumpCompatibility || !System.IsXGD())
{
string layerbreak = GetLayerbreak($"{basePath}_disc.txt", System.IsXGD()) ?? "";
info.SizeAndChecksums.Layerbreak = !string.IsNullOrEmpty(layerbreak) ? Int64.Parse(layerbreak) : default;
}
string layerbreak = GetLayerbreak($"{basePath}_disc.txt", System.IsXGD()) ?? "";
info.SizeAndChecksums.Layerbreak = !string.IsNullOrEmpty(layerbreak) ? Int64.Parse(layerbreak) : default;
}
else if (this.Type == MediaType.BluRay)
{