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:
parent
90cbd3b06d
commit
c12e87d881
3 changed files with 39 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue