From 7f79952c3f9893f586750b68f35ee5907b526a9e Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Mon, 21 Sep 2026 19:13:00 +0000 Subject: [PATCH] Match NumInodesSaveDirRoot --- src/utility/iplESMisc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utility/iplESMisc.cpp b/src/utility/iplESMisc.cpp index 1b4579f5..c98597fe 100644 --- a/src/utility/iplESMisc.cpp +++ b/src/utility/iplESMisc.cpp @@ -543,6 +543,7 @@ namespace ipl { } u32 ESMisc::NumInodesSaveDirRoot(ESTitleId titleId) { + s32 ret; s32 result = -1; bool changedUid = false; @@ -553,7 +554,7 @@ namespace ipl { snprintf(path, sizeof(path), "/title/%08x/%08x/data", NANDTitleIdHi(titleId), NANDTitleIdLo(titleId)); u32 nodes; - s32 ret = NANDPrivateReadDir(path, NULL, &nodes); + ret = NANDPrivateReadDir(path, NULL, &nodes); if (ret != NAND_RESULT_OK) { ES_ERR_REPORT("NANDReadDir failed: %d", ret); -- 2.49.1