mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-28 04:23:36 +01:00
fs readdir: fix handling of BFile_Type_MainMem entries
These are g*m files, not the @MainMem folder.
This commit is contained in:
parent
a45135776a
commit
ae3250edd0
1 changed files with 1 additions and 4 deletions
|
@ -34,9 +34,6 @@ int bfile_type_to_mode_t(int bfile_type)
|
|||
case BFile_Type_Directory: return S_IFDIR;
|
||||
case BFile_Type_Dot: return S_IFDIR;
|
||||
case BFile_Type_DotDot: return S_IFDIR;
|
||||
case BFile_Type_MainMem: return S_IFBLK;
|
||||
case BFile_Type_File: return S_IFREG;
|
||||
case BFile_Type_Archived: return S_IFREG;
|
||||
default: return S_IFREG;
|
||||
}
|
||||
}
|
||||
|
@ -47,7 +44,7 @@ int bfile_type_to_dirent(int bfile_type)
|
|||
case BFile_Type_Directory: return DT_DIR;
|
||||
case BFile_Type_Dot: return DT_DIR;
|
||||
case BFile_Type_DotDot: return DT_DIR;
|
||||
case BFile_Type_MainMem: return DT_BLK;
|
||||
case BFile_Type_MainMem: return DT_REG;
|
||||
case BFile_Type_File: return DT_REG;
|
||||
case BFile_Type_Addin: return DT_REG;
|
||||
case BFile_Type_Eact: return DT_REG;
|
||||
|
|
Loading…
Reference in a new issue