1
0
Fork 0
forked from len0rd/rockbox

Add support for for per-drive logical sector size. This allows targets to have a different logical sector size for the internal storage and the sd card, like on the fuze+ for example.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31270 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Amaury Pouly 2011-12-15 17:07:19 +00:00
parent 39148be8ac
commit 3a6e3c254e
3 changed files with 15 additions and 5 deletions

View file

@ -46,7 +46,7 @@ int disk_unmount(int drive);
/* The number of 512-byte sectors in a "logical" sector. Needed for ipod 5.5G */
#ifdef MAX_LOG_SECTOR_SIZE
extern int disk_sector_multiplier;
int disk_get_sector_multiplier(IF_MD_NONVOID(int drive));
#endif
#endif