diff --git a/include/rpxloader.h b/include/rpxloader.h index 220dbb7..eb6c111 100644 --- a/include/rpxloader.h +++ b/include/rpxloader.h @@ -112,6 +112,14 @@ bool RL_RedirectContentWithFallback(const char *pathToContent); */ bool RL_DisableContentRedirection(); +/** + * Unmounts the currently running bundle. This also disables the /vol/content redirection + * + * @return true if a .wuhb is running and the /vol/content was previously redirected + * false if no .wuhb is running or no /vol/content redirection is active. + */ +bool RL_UnmountCurrentRunningBundle(); + #ifdef __cplusplus } // extern "C" #endif \ No newline at end of file diff --git a/source/rpx_loader.def b/source/rpx_loader.def index 131a0ce..c01e05a 100644 --- a/source/rpx_loader.def +++ b/source/rpx_loader.def @@ -9,4 +9,5 @@ RL_FileRead RL_FileClose RL_FileExists RL_RedirectContentWithFallback -RL_DisableContentRedirection \ No newline at end of file +RL_DisableContentRedirection +RL_UnmountCurrentRunningBundle \ No newline at end of file