Fix getting last section for SmartE

This commit is contained in:
Matt Nadareski
2022-12-08 17:18:09 -08:00
parent 5ce4f3be56
commit f290b8462d

View File

@@ -18,7 +18,7 @@ namespace BurnOutSharp.ProtectionType
return null;
// Get the last section
var lastSetionData = pex.GetSectionData(sections.Length);
var lastSetionData = pex.GetSectionData(sections.Length - 1);
if (lastSetionData != null)
{
var matchers = new List<ContentMatchSet>