mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1787 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
085e774675
commit
6224cdb166
12 changed files with 379 additions and 144 deletions
|
|
@ -304,6 +304,7 @@ extern void ata_delayed_write(unsigned long sector, void* buf)
|
|||
extern void ata_flush(void)
|
||||
{
|
||||
if ( delayed_write ) {
|
||||
DEBUGF("ata_flush()\n");
|
||||
delayed_write = false;
|
||||
ata_write_sectors(delayed_sector_num, 1, delayed_sector);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue