mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Make iPod Nano 2G FTL return -1 on write() call, if read-only, to prevent panic.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23000 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6b6bfc0836
commit
304d7175b9
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ uint32_t ftl_write(uint32_t sector, uint32_t count, const void* buffer)
|
|||
(void)sector;
|
||||
(void)count;
|
||||
(void)buffer;
|
||||
return 1;
|
||||
return -1;
|
||||
}
|
||||
uint32_t ftl_sync(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue