mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 05:46:47 -05:00
add early abort for file ct
This commit is contained in:
@@ -260,8 +260,10 @@ private void updateGameInfo()
|
||||
}
|
||||
private int checkGameType(string[] files)
|
||||
{
|
||||
try
|
||||
try
|
||||
{
|
||||
if (files.Length > 1000)
|
||||
return -1;
|
||||
int aFiles = Directory.GetFiles(Path.Combine(Directory.GetParent(files[0]).FullName, "a"),
|
||||
"*", SearchOption.AllDirectories).Length;
|
||||
if (aFiles == 271)
|
||||
|
||||
Reference in New Issue
Block a user