Fix EF.DIR selection.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2024-06-28 22:05:10 +02:00
parent bf2f961b85
commit c1a47ed023
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ void select_file(file_t *pe) {
currentDF = (file_t *) MF; currentDF = (file_t *) MF;
currentEF = NULL; currentEF = NULL;
} }
else if (pe->type & FILE_TYPE_INTERNAL_EF) { else if (pe->type & (FILE_TYPE_INTERNAL_EF|FILE_TYPE_WORKING_EF)) {
currentEF = pe; currentEF = pe;
currentDF = &file_entries[pe->parent]; currentDF = &file_entries[pe->parent];
} }