1
0
Fork 0
forked from len0rd/rockbox

The config sector number is now calculated from the lowest partition start sector. Needed for disks with sectors_per_track < 63, e.g. flash cards.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5124 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2004-09-28 18:09:10 +00:00
parent 90cbd3b06d
commit c12e87d881
3 changed files with 39 additions and 6 deletions

View file

@ -79,6 +79,7 @@ void init(void)
font_init();
show_logo();
settings_reset();
settings_calc_config_sector();
settings_load(SETTINGS_ALL);
settings_apply();
sleep(HZ/2);
@ -224,11 +225,12 @@ void init(void)
}
}
settings_calc_config_sector();
settings_load(SETTINGS_ALL);
settings_apply();
status_init();
playlist_init();
playlist_init();
tree_init();
/* No buffer allocation (see buffer.c) may take place after the call to