mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
disk: Remember the partition number for each volume
Change-Id: Ied6b0a558eec57435f9299f3e3326714f5e3cdca
This commit is contained in:
parent
028f283ee5
commit
fee5013514
2 changed files with 23 additions and 3 deletions
|
|
@ -107,6 +107,7 @@
|
|||
struct volumeinfo
|
||||
{
|
||||
int drive; /* drive number */
|
||||
int partition; /* partition number (0 for superfloppy drives) */
|
||||
};
|
||||
|
||||
/* Volume-centric functions (in disk.c) */
|
||||
|
|
@ -131,4 +132,6 @@ static inline int volume_drive(int volume)
|
|||
}
|
||||
#endif /* HAVE_MULTIDRIVE */
|
||||
|
||||
int volume_partition(int volume);
|
||||
|
||||
#endif /* __MV_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue