mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Added delayed write for settings. Doesn't write until someone else accesses the disk.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1762 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5917e8157a
commit
c9d98ca927
4 changed files with 38 additions and 7 deletions
|
|
@ -75,3 +75,8 @@ int ata_read_sectors(unsigned long start,
|
|||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
void ata_delayed_write(unsigned long sector, void* buf)
|
||||
{
|
||||
ata_write_sectors(sector,1,buf);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue