Make version check for null or empty

This commit is contained in:
Matt Nadareski
2026-06-23 12:15:32 -04:00
parent b1e69686d0
commit f1a087ced3

View File

@@ -172,7 +172,7 @@ namespace SabreTools.RedumpLib.Tools
}
// Version
if (info.DiscIdentifiers.Version is null)
if (string.IsNullOrEmpty(info.DiscIdentifiers.Version))
{
match = Constants.VersionRegex.Match(discData);
if (match.Success)