Fix: Config sector calculation failed on super-floppy formatted media
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5232 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a450e34770
commit
270fe46f3c
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ void settings_calc_config_sector(void)
|
|||
int i, partition_start;
|
||||
int sector = 0;
|
||||
|
||||
if (fat_startsector != 0) /* There is a partition table */
|
||||
if (fat_startsector() != 0) /* There is a partition table */
|
||||
{
|
||||
sector = 61;
|
||||
for (i = 0; i < 4; i++)
|
||||
|
|
Loading…
Reference in a new issue