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
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 5c11db54aebb729c64995efdf7170f5aecbca95f
Subproject commit eca200d2f13d2846d1c6e6373d6276aa25e6ae4b

View file

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