Update src/core/hle/libraries/libkernel/file_system.h

Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
This commit is contained in:
georgemoralis 2023-11-08 08:01:14 +02:00 committed by GitHub
parent 128a27a38b
commit 0dfdefe01b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -10,10 +10,10 @@ namespace Core::Libraries::LibKernel {
constexpr int SCE_MAX_PATH = 255;
struct SceKernelDirent {
uint32_t d_fileno; /* file number of entry */
uint16_t d_reclen; /* length of this record */
uint8_t d_type; /* file type, see below */
uint8_t d_namlen; /* length of string in d_name */
u32 d_fileno; /* file number of entry */
u16 d_reclen; /* length of this record */
u8 d_type; /* file type, see below */
u8 d_namlen; /* length of string in d_name */
char d_name[SCE_MAX_PATH + 1]; /* name must be no longer than this */
};