mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Add support for for per-drive logical sector size. This allows targets to have a different logical sector size for the internal storage and the sd card, like on the fuze+ for example.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31270 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
39148be8ac
commit
3a6e3c254e
3 changed files with 15 additions and 5 deletions
|
@ -787,7 +787,7 @@ static void handle_scsi(struct command_block_wrapper* cbw)
|
|||
lun_present = false;
|
||||
|
||||
#ifdef MAX_LOG_SECTOR_SIZE
|
||||
block_size_mult = disk_sector_multiplier;
|
||||
block_size_mult = disk_get_sector_multiplier(lun);
|
||||
#endif
|
||||
|
||||
cur_cmd.tag = cbw->tag;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue