summaryrefslogtreecommitdiffstats
path: root/firmware/include
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-03-11 20:11:31 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2022-03-11 20:11:31 -0500
commit97ec0a7e7327c59ea9741933725ce0e4f4c8706c (patch)
treeb9302b512c8f820273e103ec86b06a057119a311 /firmware/include
parent95af36d0dd3a400bc22a12e76cb914eb4dce54f8 (diff)
downloadrockbox-97ec0a7e7327c59ea9741933725ce0e4f4c8706c.tar.gz
rockbox-97ec0a7e7327c59ea9741933725ce0e4f4c8706c.zip
Root redirect un-hide root volume
this appears to be problematic for now Change-Id: Ieb789f5ec10a0d25c559e9bfc2497cbc4f59c0ad
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/dircache_redirect.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/include/dircache_redirect.h b/firmware/include/dircache_redirect.h
index 65b2184d2b..52110b17a7 100644
--- a/firmware/include/dircache_redirect.h
+++ b/firmware/include/dircache_redirect.h
@@ -156,9 +156,10 @@ static inline void volume_onmount_internal(IF_MV_NONVOID(int volume))
while (rtlen > 0 && rtpath[--rtlen] == PATH_SEPCH)
rtpath[rtlen] = '\0'; /* remove extra separators */
+#if 0 /*removed, causes issues with playback for now?*/
if (rtlen <= 0 || rtpath[rtlen] == VOL_END_TOK)
root_unmount_volume(volume); /* unmount so root can be hidden*/
-
+#endif
if (rtlen <= 0) /* Error occurred, card removed? Set root to default */
goto standard_redirect;
root_mount_path(rtpath, NSITEM_CONTENTS);