mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-26 19:52:11 +00:00
nyx: Allow arc bits tool to work on all compat folders
This commit is contained in:
parent
b0bcdeafac
commit
9619417b07
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue