diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 5 |
1 files changed, 2 insertions, 3 deletions
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) | |||
513 | if (which & SETTINGS_HD) | 513 | if (which & SETTINGS_HD) |
514 | { | 514 | { |
515 | if (config_sector != 0) { | 515 | if (config_sector != 0) { |
516 | ata_read_sectors( config_sector, 1, config_block); | 516 | ata_read_sectors(IF_MV2(0,) config_sector, 1, config_block); |
517 | |||
518 | /* calculate the checksum, check it and the header */ | 517 | /* calculate the checksum, check it and the header */ |
519 | chksum = calculate_config_checksum(config_block); | 518 | chksum = calculate_config_checksum(config_block); |
520 | 519 | ||
@@ -623,7 +622,7 @@ void settings_calc_config_sector(void) | |||
623 | int i, partition_start; | 622 | int i, partition_start; |
624 | int sector = 0; | 623 | int sector = 0; |
625 | 624 | ||
626 | if (fat_startsector() != 0) /* There is a partition table */ | 625 | if (fat_startsector(IF_MV(0)) != 0) /* There is a partition table */ |
627 | { | 626 | { |
628 | sector = 61; | 627 | sector = 61; |
629 | for (i = 0; i < 4; i++) | 628 | for (i = 0; i < 4; i++) |