mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-25 15:17:19 +00:00
nyx: Allow arc bits tool to work on all compat folders
This commit is contained in:
parent
b0bcdeafac
commit
9619417b07
@ -844,8 +844,8 @@ static int _fix_attributes(lv_obj_t *lb_val, char *path, u32 *total)
|
|||||||
bool is_hos_special = !f_stat(path, NULL);
|
bool is_hos_special = !f_stat(path, NULL);
|
||||||
path[strlen(path) - 3] = 0;
|
path[strlen(path) - 3] = 0;
|
||||||
|
|
||||||
// Set archive bit to folders with 3 char extension suffix.
|
// Set archive bit to HOS single file folders.
|
||||||
if (is_hos_special && fno.fname[strlen(fno.fname) - 4] == '.')
|
if (is_hos_special)
|
||||||
{
|
{
|
||||||
if (!(fno.fattrib & AM_ARC))
|
if (!(fno.fattrib & AM_ARC))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user