mirror of
https://github.com/SabreTools/SabreTools.RedumpLib.git
synced 2026-07-08 18:16:25 +00:00
Make version check for null or empty
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user