Add RL_UnmountCurrentRunningBundle support

This commit is contained in:
Maschell 2021-10-02 11:38:36 +02:00
parent 33ed64965a
commit b9af4a6cb8
2 changed files with 10 additions and 1 deletions

View File

@ -112,6 +112,14 @@ bool RL_RedirectContentWithFallback(const char *pathToContent);
*/ */
bool RL_DisableContentRedirection(); 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 #ifdef __cplusplus
} // extern "C" } // extern "C"
#endif #endif

View File

@ -10,3 +10,4 @@ RL_FileClose
RL_FileExists RL_FileExists
RL_RedirectContentWithFallback RL_RedirectContentWithFallback
RL_DisableContentRedirection RL_DisableContentRedirection
RL_UnmountCurrentRunningBundle