From da848576312800dc229624e928d132d0702c1854 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Tue, 28 Dec 2004 22:16:07 +0000 Subject: prepared to mount multiple partitions into one logical file system (most useful for Ondio, internal memory + external MMC) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/settings.c') diff --git a/apps/settings.c b/apps/settings.c index ff9c57d136..d4945d4431 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -513,8 +513,7 @@ static int load_config_buffer(int which) if (which & SETTINGS_HD) { if (config_sector != 0) { - ata_read_sectors( config_sector, 1, config_block); - + ata_read_sectors(IF_MV2(0,) config_sector, 1, config_block); /* calculate the checksum, check it and the header */ chksum = calculate_config_checksum(config_block); @@ -623,7 +622,7 @@ void settings_calc_config_sector(void) int i, partition_start; int sector = 0; - if (fat_startsector() != 0) /* There is a partition table */ + if (fat_startsector(IF_MV(0)) != 0) /* There is a partition table */ { sector = 61; for (i = 0; i < 4; i++) -- cgit v1.2.3