1
0
Fork 0
forked from len0rd/rockbox
Change-Id: Ic6639e85c42f7ebf435ebad2740e921b7b932ead
This commit is contained in:
Aidan MacDonald 2024-03-31 18:10:38 +01:00
parent dc9d354ed2
commit 856e3d548b
2 changed files with 4 additions and 4 deletions

View file

@ -513,7 +513,7 @@ void volume_size(IF_MV(int volume,) unsigned long *sizep, unsigned long *freep)
}
#if defined (HAVE_HOTSWAP) || defined (HAVE_MULTIDRIVE) \
|| defined (HAVE_DIRCACHE)
|| defined (HAVE_DIRCACHE) || defined(HAVE_BOOTDATA)
enum volume_info_type
{
#ifdef HAVE_HOTSWAP
@ -592,4 +592,4 @@ bool volume_ismounted(IF_MV_NONVOID(int volume))
#endif /* HAVE_DIRCACHE */
#endif /* HAVE_HOTSWAP || HAVE_MULTIDRIVE || HAVE_DIRCACHE */
#endif /* HAVE_HOTSWAP || HAVE_MULTIDRIVE || HAVE_DIRCACHE || HAVE_BOOTDATA */

View file

@ -152,8 +152,8 @@ static inline bool multiboot_is_boot_volume(int volume)
return volume_drive(volume) == 0;
#else
/* FIXME: Anything else that can get here is a Sansa. */
return volume_drive(volume) == boot_data.boot_volume ||
volume == boot_data.boot_volume;
return volume_drive(volume) == boot_data._boot_volume ||
volume == boot_data._boot_volume;
#endif
}