1
0
Fork 0
forked from len0rd/rockbox

More red fixes:

* hostfs_removeable()/present() needed IF_MDVOID() in their prototypes
 * SIM_EXT_INSERTED/EXTRACTED are gated by HAVE_HOTSWAP

Change-Id: Id8c688f3538db99586a4f5062c83466374451883
This commit is contained in:
Solomon Peachy 2024-07-07 15:33:57 -04:00
parent 5a2bd580cd
commit 60c3fdbc11
3 changed files with 6 additions and 6 deletions

View file

@ -37,8 +37,8 @@ extern int hostfs_init(void);
extern int hostfs_flush(void);
#ifdef HAVE_HOTSWAP
extern bool hostfs_removable(int drive);
extern bool hostfs_present(int drive);
extern bool hostfs_removable(IF_MD_NONVOID(int drive));
extern bool hostfs_present(IF_MD_NONVOID(int drive));
#endif
/* This has to be repeated here for now for sim's sake since HAVE_HOSTFS

View file

@ -45,7 +45,7 @@ enum {
SIM_SCREENDUMP,
SIM_USB_INSERTED,
SIM_USB_EXTRACTED,
#ifdef HAVE_MULTIDRIVE
#ifdef HAVE_HOTSWAP
SIM_EXT_INSERTED,
SIM_EXT_EXTRACTED,
#endif