mirror of
https://gitlab.com/Nanolx/homebrewfilter.git
synced 2024-12-27 10:01:48 +01:00
optimize mount settings to noticeably improve speed
This commit is contained in:
parent
b9f0d9d8de
commit
5db3c9fa13
@ -183,13 +183,13 @@ static void AddPartition(sec_t sector, int device, int type, int *devnum)
|
||||
|
||||
if(type == T_FAT)
|
||||
{
|
||||
if(!fatMount(mount, disc, sector, 2, 128))
|
||||
if(!fatMount(mount, disc, sector, 8, 64))
|
||||
return;
|
||||
fatGetVolumeLabel(mount, part[device][*devnum].name);
|
||||
}
|
||||
else if (type == T_NTFS)
|
||||
{
|
||||
if(!ntfsMount(mount, disc, sector, 2, 128, NTFS_DEFAULT | NTFS_RECOVER))
|
||||
if(!ntfsMount(mount, disc, sector, 8, 64, NTFS_DEFAULT | NTFS_RECOVER))
|
||||
return;
|
||||
|
||||
const char *name = ntfsGetVolumeName(mount);
|
||||
@ -201,7 +201,7 @@ static void AddPartition(sec_t sector, int device, int type, int *devnum)
|
||||
}
|
||||
else if (type == T_EXT2)
|
||||
{
|
||||
if(!ext2Mount(mount, disc, sector, 2, 128, EXT2_FLAG_64BITS | EXT2_FLAG_JOURNAL_DEV_OK))
|
||||
if(!ext2Mount(mount, disc, sector, 8, 64, EXT2_FLAG_64BITS | EXT2_FLAG_JOURNAL_DEV_OK))
|
||||
return;
|
||||
|
||||
const char *name = ext2GetVolumeName(mount);
|
||||
|
@ -188,6 +188,12 @@ extern const u32 sd_usb_active_png_size;
|
||||
extern const u8 sd_usb_inactive_png[];
|
||||
extern const u32 sd_usb_inactive_png_size;
|
||||
|
||||
extern const u8 dvd_active_png[];
|
||||
extern const u32 dvd_active_png_size;
|
||||
|
||||
extern const u8 all_active_png[];
|
||||
extern const u32 all_active_png_size;
|
||||
|
||||
extern const u8 wii_active_png[];
|
||||
extern const u32 wii_active_png_size;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user