Root redirect un-hide root volume

this appears to be problematic for now

Change-Id: Ieb789f5ec10a0d25c559e9bfc2497cbc4f59c0ad
This commit is contained in:
William Wilgus 2022-03-11 20:11:31 -05:00
parent 95af36d0dd
commit 97ec0a7e73

View file

@ -156,9 +156,10 @@ static inline void volume_onmount_internal(IF_MV_NONVOID(int volume))
while (rtlen > 0 && rtpath[--rtlen] == PATH_SEPCH) while (rtlen > 0 && rtpath[--rtlen] == PATH_SEPCH)
rtpath[rtlen] = '\0'; /* remove extra separators */ rtpath[rtlen] = '\0'; /* remove extra separators */
#if 0 /*removed, causes issues with playback for now?*/
if (rtlen <= 0 || rtpath[rtlen] == VOL_END_TOK) if (rtlen <= 0 || rtpath[rtlen] == VOL_END_TOK)
root_unmount_volume(volume); /* unmount so root can be hidden*/ root_unmount_volume(volume); /* unmount so root can be hidden*/
#endif
if (rtlen <= 0) /* Error occurred, card removed? Set root to default */ if (rtlen <= 0) /* Error occurred, card removed? Set root to default */
goto standard_redirect; goto standard_redirect;
root_mount_path(rtpath, NSITEM_CONTENTS); root_mount_path(rtpath, NSITEM_CONTENTS);