From d7ca929a5fe1189f316751c8992e960fdcc52727 Mon Sep 17 00:00:00 2001 From: IonutParau Date: Sun, 29 Mar 2026 20:31:58 +0200 Subject: [PATCH] a useful option --- src/neonucleus.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/neonucleus.h b/src/neonucleus.h index 507d495..89ecf99 100644 --- a/src/neonucleus.h +++ b/src/neonucleus.h @@ -1051,6 +1051,8 @@ typedef struct nn_VFilesystem { const char *label; size_t labellen; bool isReadOnly; + // cost of a file entry when computed the spaceUsed + size_t fileCost; // The maximum amount of directory entries. This is used to pre-allocate an array. // It also helps against memory hogging attacks. size_t maxDirEntries;