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 | |
parent | c9857098ac0a3173d5d03baa3c32d9a8e29faec8 (diff) | |
download | rockbox-fe4628fc30.tar.gz rockbox-fe4628fc30.zip |
Fix Red Multiboot Firmware Root Redirect
Exclude bootloaders
Change-Id: Id26120df0a047711efe49a43917dfec4c25107cb
-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 @@ #include "dir.h" #include "dircache.h" -#if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR) +#if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR) && !defined(BOOTLOADER) #include "rb-loader.h" #include "bootdata.h" #include "crc32.h" @@ -145,7 +145,7 @@ static inline void volume_onmount_internal(IF_MV_NONVOID(int volume)) const char *path = PATH_ROOTSTR; #endif -#if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR) +#if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR) && !defined(BOOTLOADER) static char rtpath[VOL_MAX_LEN+2] = RB_ROOT_CONTENTS_DIR; static bool redirected = false; int boot_volume = 0; |