diff --git a/src/kernel/pspinit.h b/src/kernel/pspinit.h index 28688c5f3e..df90f49cc0 100644 --- a/src/kernel/pspinit.h +++ b/src/kernel/pspinit.h @@ -30,6 +30,7 @@ typedef enum PSPBootFrom { /** The executable was booted via Flash 3.*/ PSP_BOOT_FLASH3 = 0x80, } PSPBootFrom; +typedef PSPBootFrom SceBootMediumType; /** * API types of an executable. @@ -169,6 +170,7 @@ typedef enum PSPKeyConfig { /** The application is a PSP application (i.e. Skype). */ PSP_INIT_KEYCONFIG_APP = 0x400, } PSPKeyConfig; +typedef PSPKeyConfig SceApplicationType; /** * This structure represents a boot callback belonging to a module. diff --git a/src/user/pspiofilemgr_dirent.h b/src/user/pspiofilemgr_dirent.h index f1f9339bb4..988d96b7e9 100644 --- a/src/user/pspiofilemgr_dirent.h +++ b/src/user/pspiofilemgr_dirent.h @@ -20,15 +20,22 @@ #include +typedef struct SceIoPrivateDirent { + SceSize size; + char shortFileName[13]; + char __padding__[3]; + char longFileName[1024]; +} SceIoPrivateDirent; + /** Describes a single directory entry */ typedef struct SceIoDirent { /** File status. */ - SceIoStat d_stat; + SceIoStat d_stat; /** File name. */ - char d_name[256]; + char d_name[256]; /** Device-specific data. */ - void * d_private; - int dummy; + SceIoPrivateDirent* d_private; + int dummy; } SceIoDirent; #endif /* PSPIOFILEMGR_DIRENT_H */