diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/include/dircache_redirect.h | 3 |
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)) | |||
156 | while (rtlen > 0 && rtpath[--rtlen] == PATH_SEPCH) | 156 | while (rtlen > 0 && rtpath[--rtlen] == PATH_SEPCH) |
157 | rtpath[rtlen] = '\0'; /* remove extra separators */ | 157 | rtpath[rtlen] = '\0'; /* remove extra separators */ |
158 | 158 | ||
159 | #if 0 /*removed, causes issues with playback for now?*/ | ||
159 | if (rtlen <= 0 || rtpath[rtlen] == VOL_END_TOK) | 160 | if (rtlen <= 0 || rtpath[rtlen] == VOL_END_TOK) |
160 | root_unmount_volume(volume); /* unmount so root can be hidden*/ | 161 | root_unmount_volume(volume); /* unmount so root can be hidden*/ |
161 | 162 | #endif | |
162 | if (rtlen <= 0) /* Error occurred, card removed? Set root to default */ | 163 | if (rtlen <= 0) /* Error occurred, card removed? Set root to default */ |
163 | goto standard_redirect; | 164 | goto standard_redirect; |
164 | root_mount_path(rtpath, NSITEM_CONTENTS); | 165 | root_mount_path(rtpath, NSITEM_CONTENTS); |