mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Fix XGD media type outputs (fixes #441)
This commit is contained in:
@@ -834,11 +834,9 @@ namespace MPF.Library
|
||||
output.Add(""); output.Add("Size & Checksum:");
|
||||
|
||||
// Gross hack because of automatic layerbreaks in Redump
|
||||
if ((info.CommonDiscInfo.Media != DiscType.BD25
|
||||
&& info.CommonDiscInfo.Media != DiscType.BD50
|
||||
&& info.CommonDiscInfo.Media != DiscType.BD100
|
||||
&& info.CommonDiscInfo.Media != DiscType.BD128)
|
||||
|| (!options.EnableRedumpCompatibility))
|
||||
if (!options.EnableRedumpCompatibility
|
||||
|| (info.CommonDiscInfo.Media.ToMediaType() != MediaType.BluRay
|
||||
&& !info.CommonDiscInfo.System.IsXGD()))
|
||||
{
|
||||
AddIfExists(output, Template.LayerbreakField, (info.SizeAndChecksums.Layerbreak == default ? null : info.SizeAndChecksums.Layerbreak.ToString()), 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user