mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add nullable context to SabreTools.DatFiles
This commit is contained in:
@@ -55,7 +55,7 @@ namespace SabreTools.DatFiles.Formats
|
||||
Header.MameConfig ??= mame.MameConfig;
|
||||
|
||||
// Handle implied SuperDAT
|
||||
if (Header.Name.Contains(" - SuperDAT") && keep)
|
||||
if (Header.Name?.Contains(" - SuperDAT") == true && keep)
|
||||
Header.Type ??= "SuperDAT";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user