Fix gci recognition

This commit is contained in:
Kurt 2022-06-27 22:28:46 -07:00
parent 70cab2aea7
commit 1f64a41670

View file

@ -20,10 +20,10 @@ public sealed class SaveHandlerGCI : ISaveHandler
{
foreach (var header in headers)
{
if (!IsGameMatchHeader(data, header.AsSpan()))
return false;
if (IsGameMatchHeader(data, header.AsSpan()))
return true;
}
return true;
return false;
}
private static bool IsGameMatchHeader(ReadOnlySpan<byte> data, ReadOnlySpan<char> header)