Fix PlayJ description check

This commit is contained in:
Matt Nadareski
2022-12-05 12:57:54 -08:00
parent 31dc347df4
commit 7293d55239

View File

@@ -44,7 +44,7 @@ namespace BurnOutSharp.ProtectionType
// Found in "PJSTREAM.DLL" ("Volumia!" by Puur (Barcode 7 43218 63282 2) (Discogs Release Code [r795427])).
name = pex.FileDescription;
if (name.StartsWith("EVAUX32 Module", StringComparison.OrdinalIgnoreCase) == true)
if (name?.StartsWith("EVAUX32 Module", StringComparison.OrdinalIgnoreCase) == true)
return $"PlayJ Music Player Component";
// Found in "PlayJ.exe" (https://web.archive.org/web/20010417025347/http://dlp.playj.com:80/playj/PlayJIns266.exe) and "CACTUSPJ.exe" ("Volumia!" by Puur (Barcode 7 43218 63282 2) (Discogs Release Code [r795427])).