1
0
Fork 0
forked from len0rd/rockbox

behave for multi-volume

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5520 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jörg Hohensohn 2004-12-29 22:37:31 +00:00
parent 7ee03d0493
commit 575c9049f6
2 changed files with 11 additions and 5 deletions

View file

@ -1455,7 +1455,7 @@ static bool dbg_disk_info(void)
case 3: {
unsigned int free;
fat_size( NULL, &free );
fat_size( IF_MV2(0,) NULL, &free );
snprintf(buf, sizeof buf, "%d MB", free / 1024 );
lcd_puts(0, y++, "Free");
lcd_puts(0, y++, buf);
@ -1530,7 +1530,7 @@ static bool dbg_disk_info(void)
case 11:
lcd_puts(0, y++, "Cluster size");
snprintf(buf, 128, "%d bytes", fat_get_cluster_size());
snprintf(buf, 128, "%d bytes", fat_get_cluster_size(IF_MV(0)));
lcd_puts(0, y++, buf);
break;
}
@ -1560,7 +1560,7 @@ static bool dbg_disk_info(void)
lcd_puts(0,0,"Scanning");
lcd_puts(0,1,"disk...");
lcd_update();
fat_recalc_free();
fat_recalc_free(IF_MV(0));
}
break;
}