mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-29 13:03:36 +01:00
fs readdir: recognize a few more bfile types
This commit is contained in:
parent
4173bf1f78
commit
a45135776a
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,11 @@ int bfile_type_to_dirent(int bfile_type)
|
||||||
case BFile_Type_DotDot: return DT_DIR;
|
case BFile_Type_DotDot: return DT_DIR;
|
||||||
case BFile_Type_MainMem: return DT_BLK;
|
case BFile_Type_MainMem: return DT_BLK;
|
||||||
case BFile_Type_File: return DT_REG;
|
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;
|
case BFile_Type_Archived: return DT_REG;
|
||||||
default: return DT_UNKNOWN;
|
default: return DT_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue