Fix setting MountBundle result.

This commit is contained in:
Maschell 2022-04-27 19:12:15 +02:00
parent 8faecb1434
commit f21357527d
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}