Use OpenMSX serializer for reading only

This commit is contained in:
Matt Nadareski
2023-07-31 13:44:15 -04:00
parent 0aefe41484
commit 745cac1427
3 changed files with 115 additions and 433 deletions

View File

@@ -54,7 +54,7 @@ namespace SabreTools.DatFiles.Formats
Header.Comment ??= doscenter.Comment;
// Handle implied SuperDAT
if (doscenter.Name.Contains(" - SuperDAT") && keep)
if (doscenter.Name?.Contains(" - SuperDAT") == true && keep)
Header.Type ??= "SuperDAT";
}