Fix setting MountBundle result.

This commit is contained in:
Maschell 2022-04-27 19:12:15 +02:00
parent 8faecb1434
commit f21357527d

View File

@ -41,9 +41,10 @@ WUHBUtilsApiErrorType WUU_MountBundle(const char *name, const char *path, Bundle
auto res = romfsMount(name, path, (RomfsSource) source); auto res = romfsMount(name, path, (RomfsSource) source);
if (res == 0) { if (res == 0) {
mountedWUHB[name] = path; mountedWUHB[name] = path;
*outRes = res;
} }
*outRes = res;
return WUHB_UTILS_API_ERROR_NONE; return WUHB_UTILS_API_ERROR_NONE;
} }