From fdc70ed9e33ca1c9e59873a6795e0c17bd38432f Mon Sep 17 00:00:00 2001 From: Martins Mozeiko Date: Sun, 12 Nov 2017 15:50:38 -0800 Subject: [PATCH] don't create empty folders in psemu/GAME --- pkg2zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg2zip.c b/pkg2zip.c index c0037e1..2504b5d 100644 --- a/pkg2zip.c +++ b/pkg2zip.c @@ -542,7 +542,7 @@ int main(int argc, char* argv[]) snprintf(root, sizeof(root), "pspemu/ISO"); out_add_folder(root); - if (strcmp(category, "HG") == 0) + if (content_type == 7 && strcmp(category, "HG") == 0) { snprintf(root, sizeof(root), "pspemu/GAME"); out_add_folder(root);