From f21357527dd37916657e88689b58aefedf7d94cc Mon Sep 17 00:00:00 2001 From: Maschell Date: Wed, 27 Apr 2022 19:12:15 +0200 Subject: [PATCH] Fix setting MountBundle result. --- src/export.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/export.cpp b/src/export.cpp index 6eae426..b242325 100644 --- a/src/export.cpp +++ b/src/export.cpp @@ -41,9 +41,10 @@ WUHBUtilsApiErrorType WUU_MountBundle(const char *name, const char *path, Bundle auto res = romfsMount(name, path, (RomfsSource) source); if (res == 0) { mountedWUHB[name] = path; - *outRes = res; } + *outRes = res; + return WUHB_UTILS_API_ERROR_NONE; }