From a45135776a6077bc61ad9b0edb8c0300b475ab51 Mon Sep 17 00:00:00 2001 From: Lephe Date: Sat, 27 Jul 2024 21:48:22 +0200 Subject: [PATCH] fs readdir: recognize a few more bfile types --- src/fs/fugue/util.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/fs/fugue/util.c b/src/fs/fugue/util.c index 967a217..99301ee 100644 --- a/src/fs/fugue/util.c +++ b/src/fs/fugue/util.c @@ -49,6 +49,11 @@ int bfile_type_to_dirent(int bfile_type) case BFile_Type_DotDot: return DT_DIR; case BFile_Type_MainMem: return DT_BLK; case BFile_Type_File: return DT_REG; + case BFile_Type_Addin: return DT_REG; + case BFile_Type_Eact: return DT_REG; + case BFile_Type_Language: return DT_REG; + case BFile_Type_Bitmap: return DT_REG; + case BFile_Type_Volume: return DT_BLK; case BFile_Type_Archived: return DT_REG; default: return DT_UNKNOWN; }