1
0
Fork 0
forked from len0rd/rockbox

fix warnings and errors in a41a001258

* volume_partition() wasn't defined for hosted targets
 * wrap the "special" volume stuff in HAVE_MULTIDRIVE

Change-Id: Icbea256ab6438e1f7e45d361ed61724feec7ef0b
This commit is contained in:
Solomon Peachy 2024-11-23 20:58:35 -05:00
parent a41a001258
commit 57cd8cd712
2 changed files with 10 additions and 1 deletions

View file

@ -207,3 +207,10 @@ bool volume_present(int volume)
return hostfs_present(volume);
}
#endif
int volume_partition(int volume)
{
(void)volume;
/* Hosted only implement a single parition per "drive" */
return 0;
}