mirror of
https://github.com/wiiu-env/RPXLoadingModule.git
synced 2024-11-29 13:24:14 +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;
|
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_LoadFromSDOnNextLaunch);
|
||||||
WUMS_EXPORT_FUNCTION(RL_MountBundle);
|
WUMS_EXPORT_FUNCTION(RL_MountBundle);
|
||||||
WUMS_EXPORT_FUNCTION(RL_UnmountBundle);
|
WUMS_EXPORT_FUNCTION(RL_UnmountBundle);
|
||||||
@ -303,3 +311,4 @@ WUMS_EXPORT_FUNCTION(RL_FileRead);
|
|||||||
WUMS_EXPORT_FUNCTION(RL_FileClose);
|
WUMS_EXPORT_FUNCTION(RL_FileClose);
|
||||||
WUMS_EXPORT_FUNCTION(RL_FileExists);
|
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