diff --git a/src/user/pspiofilemgr_fcntl.h b/src/user/pspiofilemgr_fcntl.h index 6ee57c87..f729f371 100644 --- a/src/user/pspiofilemgr_fcntl.h +++ b/src/user/pspiofilemgr_fcntl.h @@ -19,7 +19,7 @@ #define PSP_O_WRONLY 0x0002 #define PSP_O_RDWR (PSP_O_RDONLY | PSP_O_WRONLY) #define PSP_O_NBLOCK 0x0004 -#define PSP_O_DIROPEN 0x0008 // Internal use for dopen +#define PSP_O_DIR 0x0008 #define PSP_O_APPEND 0x0100 #define PSP_O_CREAT 0x0200 #define PSP_O_TRUNC 0x0400 diff --git a/src/user/pspiofilemgr_stat.h b/src/user/pspiofilemgr_stat.h index 6e1028ac..738917a7 100644 --- a/src/user/pspiofilemgr_stat.h +++ b/src/user/pspiofilemgr_stat.h @@ -105,11 +105,11 @@ typedef struct SceIoStat { /** Size of the file in bytes. */ SceOff st_size; /** Creation time. */ - ScePspDateTime st_ctime; + ScePspDateTime sce_st_ctime; /** Access time. */ - ScePspDateTime st_atime; + ScePspDateTime sce_st_atime; /** Modification time. */ - ScePspDateTime st_mtime; + ScePspDateTime sce_st_mtime; /** Device-specific data. */ unsigned int st_private[6]; } SceIoStat;