mirror of
https://github.com/wiiu-env/RPXLoadingModule.git
synced 2024-11-22 01:49:15 +01:00
Add add function to disable the current /vol/content redirection.
This commit is contained in:
parent
702524251e
commit
c09f2a1475
@ -295,6 +295,14 @@ bool RL_RedirectContentWithFallback(const char * newContentPath) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool RL_DisableContentRedirection() {
|
||||
if (gReplacementInfo.contentReplacementInfo.mode == CONTENTREDIRECT_FROM_PATH) {
|
||||
gReplacementInfo.contentReplacementInfo.mode = CONTENTREDIRECT_NONE;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
WUMS_EXPORT_FUNCTION(RL_LoadFromSDOnNextLaunch);
|
||||
WUMS_EXPORT_FUNCTION(RL_MountBundle);
|
||||
WUMS_EXPORT_FUNCTION(RL_UnmountBundle);
|
||||
@ -302,4 +310,5 @@ WUMS_EXPORT_FUNCTION(RL_FileOpen);
|
||||
WUMS_EXPORT_FUNCTION(RL_FileRead);
|
||||
WUMS_EXPORT_FUNCTION(RL_FileClose);
|
||||
WUMS_EXPORT_FUNCTION(RL_FileExists);
|
||||
WUMS_EXPORT_FUNCTION(RL_RedirectContentWithFallback);
|
||||
WUMS_EXPORT_FUNCTION(RL_RedirectContentWithFallback);
|
||||
WUMS_EXPORT_FUNCTION(RL_DisableContentRedirection);
|
Loading…
Reference in New Issue
Block a user