summaryrefslogtreecommitdiffstats
path: root/firmware/export/fat.h
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2011-01-02 22:28:22 +0000
committerMichael Sparmann <theseven@rockbox.org>2011-01-02 22:28:22 +0000
commit7fea1369034f4c10b22365e34493d4151e793fac (patch)
treede734cc78103dea6c873113c166e8cddd59f36d9 /firmware/export/fat.h
parent886e97221bc6105057116a6a7303b15710c9e06f (diff)
downloadrockbox-7fea1369034f4c10b22365e34493d4151e793fac.tar.gz
rockbox-7fea1369034f4c10b22365e34493d4151e793fac.zip
Autodetect sector size on superfloppy volumes based on the FAT32 BPB (kudos to Frank Gevaerts)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28946 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/fat.h')
-rw-r--r--firmware/export/fat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h
index 5df5dc4b91..36beda711d 100644
--- a/firmware/export/fat.h
+++ b/firmware/export/fat.h
@@ -99,6 +99,7 @@ extern void fat_unlock(void);
#endif
extern void fat_init(void);
+extern int fat_get_bytes_per_sector(IF_MV_NONVOID(int volume));
extern int fat_mount(IF_MV2(int volume,) IF_MD2(int drive,) long startsector);
extern int fat_unmount(int volume, bool flush);
extern void fat_size(IF_MV2(int volume,) /* public for info */