|
pspsdk-1.0+beta2
|
Data Structures | |
| struct | pspUmdInfo |
| UMD Info struct. More... | |
Typedefs | |
| typedef struct pspUmdInfo | pspUmdInfo |
| UMD Info struct. | |
| typedef int(* | UmdCallback )(int unknown, int event) |
| UMD Callback function. | |
Enumerations | |
| enum | pspUmdTypes { PSP_UMD_TYPE_GAME = 0x10, PSP_UMD_TYPE_VIDEO = 0x20, PSP_UMD_TYPE_AUDIO = 0x40 } |
| Enumeration for UMD types. More... | |
| enum | pspUmdState { PSP_UMD_NOT_PRESENT = 0x01, PSP_UMD_PRESENT = 0x02, PSP_UMD_CHANGED = 0x04, PSP_UMD_INITING = 0x08, PSP_UMD_INITED = 0x10, PSP_UMD_READY = 0x20 } |
| Enumeration for UMD drive state. More... | |
| enum | UmdDriveStat { UMD_WAITFORDISC = PSP_UMD_PRESENT, UMD_WAITFORINIT = PSP_UMD_READY } |
| Enumeration for UMD stats (legacy) More... | |
Functions | |
| int | sceUmdCheckMedium (void) |
| Check whether there is a disc in the UMD drive. | |
| int | sceUmdGetDiscInfo (pspUmdInfo *info) |
| Get the disc info. | |
| int | sceUmdActivate (int unit, const char *drive) |
| Activates the UMD drive. | |
| int | sceUmdDeactivate (int unit, const char *drive) |
| Deativates the UMD drive. | |
| int | sceUmdWaitDriveStat (int stat) |
| Wait for the UMD drive to reach a certain state. | |
| int | sceUmdWaitDriveStatWithTimer (int stat, unsigned int timeout) |
| Wait for the UMD drive to reach a certain state. | |
| int | sceUmdWaitDriveStatCB (int stat, unsigned int timeout) |
| Wait for the UMD drive to reach a certain state (plus callback) | |
| int | sceUmdCancelWaitDriveStat (void) |
| Cancel a sceUmdWait* call. | |
| int | sceUmdGetDriveStat (void) |
| Get (poll) the current state of the UMD drive. | |
| int | sceUmdGetErrorStat (void) |
| Get the error code associated with a failed event. | |
| int | sceUmdRegisterUMDCallBack (int cbid) |
| Register a callback for the UMD drive. | |
| int | sceUmdUnRegisterUMDCallBack (int cbid) |
| Un-register a callback for the UMD drive. | |
| int | sceUmdReplacePermit (void) |
| Permit UMD disc being replaced. | |
| int | sceUmdReplaceProhibit (void) |
| Prohibit UMD disc being replaced. | |
| typedef struct pspUmdInfo pspUmdInfo |
UMD Info struct.
| typedef int(* UmdCallback)(int unknown, int event) |
UMD Callback function.
| enum pspUmdState |
| enum pspUmdTypes |
| enum UmdDriveStat |
| int sceUmdActivate | ( | int | unit, |
| const char * | drive | ||
| ) |
Activates the UMD drive.
| unit | - The unit to initialise (probably). Should be set to 1. |
| drive | - A prefix string for the fs device to mount the UMD on (e.g. "disc0:") |
| int sceUmdCancelWaitDriveStat | ( | void | ) |
Cancel a sceUmdWait* call.
| int sceUmdCheckMedium | ( | void | ) |
Check whether there is a disc in the UMD drive.
| int sceUmdDeactivate | ( | int | unit, |
| const char * | drive | ||
| ) |
Deativates the UMD drive.
| unit | - The unit to initialise (probably). Should be set to 1. |
| drive | - A prefix string for the fs device to mount the UMD on (e.g. "disc0:") |
| int sceUmdGetDiscInfo | ( | pspUmdInfo * | info | ) |
| int sceUmdGetDriveStat | ( | void | ) |
Get (poll) the current state of the UMD drive.
| int sceUmdGetErrorStat | ( | void | ) |
Get the error code associated with a failed event.
| int sceUmdRegisterUMDCallBack | ( | int | cbid | ) |
Register a callback for the UMD drive.
| cbid | - A callback ID created from sceKernelCreateCallback |
| int sceUmdReplacePermit | ( | void | ) |
Permit UMD disc being replaced.
| int sceUmdReplaceProhibit | ( | void | ) |
Prohibit UMD disc being replaced.
| int sceUmdUnRegisterUMDCallBack | ( | int | cbid | ) |
Un-register a callback for the UMD drive.
| cbid | - A callback ID created from sceKernelCreateCallback |
| int sceUmdWaitDriveStat | ( | int | stat | ) |
Wait for the UMD drive to reach a certain state.
| stat | - One or more of pspUmdState |
| int sceUmdWaitDriveStatCB | ( | int | stat, |
| unsigned int | timeout | ||
| ) |
Wait for the UMD drive to reach a certain state (plus callback)
| stat | - One or more of pspUmdState |
| timeout | - Timeout value in microseconds |
| int sceUmdWaitDriveStatWithTimer | ( | int | stat, |
| unsigned int | timeout | ||
| ) |
Wait for the UMD drive to reach a certain state.
| stat | - One or more of pspUmdState |
| timeout | - Timeout value in microseconds |