From 4163622fccb438591a33edd7bea31deb3c8c3d38 Mon Sep 17 00:00:00 2001 From: Martins Mozeiko Date: Fri, 29 Sep 2017 13:30:33 -0700 Subject: [PATCH] increase max file count to 16k --- pkg2zip.c | 4 ---- pkg2zip_zip.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pkg2zip.c b/pkg2zip.c index 594e0cd..43d8e8a 100644 --- a/pkg2zip.c +++ b/pkg2zip.c @@ -368,10 +368,6 @@ int main(int argc, char* argv[]) else if (flags <= 3 || (flags >= 14 && flags <= 17) || flags == 19 || flags == 21 || flags == 22) { - if (memcmp("sce_pfs/pflist", name, name_size) == 0) - { - continue; - } if (dlc) { if (strncmp("sce_sys/package/", name, 16) == 0) diff --git a/pkg2zip_zip.h b/pkg2zip_zip.h index c91c8ad..5a55704 100644 --- a/pkg2zip_zip.h +++ b/pkg2zip_zip.h @@ -5,7 +5,7 @@ #include #include -#define ZIP_MAX_FILES 8192 +#define ZIP_MAX_FILES (16*1024) #define ZIP_MAX_FILENAME 1024 typedef struct {