From 0bf85ec729865362680eaaa8ce853ac33896a66d Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sun, 13 Mar 2022 13:14:37 -0700 Subject: [PATCH] Refine copy protection section showing --- CHANGELIST.md | 1 + MPF.Library/InfoTool.cs | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELIST.md b/CHANGELIST.md index c3d7ab33..233dcb1f 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -32,6 +32,7 @@ - Add both fully and partially matching to info file - Fix submission info clone - Clear out fully matched IDs from the partial list +- Refine copy protection section showing ### 2.3 (2022-02-05) - Start overhauling Redump information pulling, again diff --git a/MPF.Library/InfoTool.cs b/MPF.Library/InfoTool.cs index f050161d..7ec2ef8c 100644 --- a/MPF.Library/InfoTool.cs +++ b/MPF.Library/InfoTool.cs @@ -764,9 +764,10 @@ namespace MPF.Library } // Copy Protection section - if (info.CopyProtection.Protection != null + if (!string.IsNullOrEmpty(info.CopyProtection.Protection) || info.CopyProtection.AntiModchip != YesNo.NULL - || info.CopyProtection.LibCrypt != YesNo.NULL) + || info.CopyProtection.LibCrypt != YesNo.NULL + || info.CopyProtection.SecuROMData != null) { output.Add(""); output.Add("Copy Protection:"); if (info.CommonDiscInfo.System == RedumpSystem.SonyPlayStation)