mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Fix gci recognition
This commit is contained in:
parent
70cab2aea7
commit
1f64a41670
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue