Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/kernel/pspinit.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
15 changes: 11 additions & 4 deletions src/user/pspiofilemgr_dirent.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,22 @@

#include <pspiofilemgr_stat.h>

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 */