mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 06:34:19 +00:00
parent
2205332326
commit
fc509200b7
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ public sealed class SaveHandlerFooterRTC : ISaveHandler
|
|||
|
||||
private static bool IsPlausibleFooterSize(long size)
|
||||
{
|
||||
if (size == 0x07) // exception for lesserkuma/FlashGBX >v2.0
|
||||
return true;
|
||||
if ((size & 1) != 0) // must be even
|
||||
return false;
|
||||
return size is not (> MaxFooter or < MinFooter);
|
||||
|
|
Loading…
Reference in a new issue