diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-03-03 23:17:16 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-03-03 23:20:07 -0500 |
commit | fe4628fc3044bb2d21ee49f29ae1dba546db2453 (patch) | |
tree | 9371d42a9fcbd58ad7d631f9ab7ab9c4a83054b3 /firmware/include/dircache_redirect.h | |
parent | c9857098ac0a3173d5d03baa3c32d9a8e29faec8 (diff) | |
download | rockbox-fe4628fc3044bb2d21ee49f29ae1dba546db2453.tar.gz rockbox-fe4628fc3044bb2d21ee49f29ae1dba546db2453.zip |
Fix Red Multiboot Firmware Root Redirect
Exclude bootloaders
Change-Id: Id26120df0a047711efe49a43917dfec4c25107cb
Diffstat (limited to 'firmware/include/dircache_redirect.h')
-rw-r--r-- | firmware/include/dircache_redirect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/include/dircache_redirect.h b/firmware/include/dircache_redirect.h index dfab6fd5a3..a781d6ee76 100644 --- a/firmware/include/dircache_redirect.h +++ b/firmware/include/dircache_redirect.h | |||
@@ -25,7 +25,7 @@ | |||
25 | #include "dir.h" | 25 | #include "dir.h" |
26 | #include "dircache.h" | 26 | #include "dircache.h" |
27 | 27 | ||
28 | #if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR) | 28 | #if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR) && !defined(BOOTLOADER) |
29 | #include "rb-loader.h" | 29 | #include "rb-loader.h" |
30 | #include "bootdata.h" | 30 | #include "bootdata.h" |
31 | #include "crc32.h" | 31 | #include "crc32.h" |
@@ -145,7 +145,7 @@ static inline void volume_onmount_internal(IF_MV_NONVOID(int volume)) | |||
145 | const char *path = PATH_ROOTSTR; | 145 | const char *path = PATH_ROOTSTR; |
146 | #endif | 146 | #endif |
147 | 147 | ||
148 | #if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR) | 148 | #if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR) && !defined(BOOTLOADER) |
149 | static char rtpath[VOL_MAX_LEN+2] = RB_ROOT_CONTENTS_DIR; | 149 | static char rtpath[VOL_MAX_LEN+2] = RB_ROOT_CONTENTS_DIR; |
150 | static bool redirected = false; | 150 | static bool redirected = false; |
151 | int boot_volume = 0; | 151 | int boot_volume = 0; |