int sceUmdCheckMedium(void)
Check whether there is a disc in the UMD drive.
int sceUmdGetErrorStat(void)
Get the error code associated with a failed event.
int sceUmdUnRegisterUMDCallBack(int cbid)
Un-register a callback for the UMD drive.
int sceUmdGetDiscInfo(pspUmdInfo *info)
Get the disc info.
int sceUmdWaitDriveStatCB(int stat, unsigned int timeout)
Wait for the UMD drive to reach a certain state (plus callback)
int sceUmdGetDriveStat(void)
Get (poll) the current state of the UMD drive.
int sceUmdReplacePermit(void)
Permit UMD disc being replaced.
pspUmdTypes
Enumeration for UMD types.
Definition pspumd.h:39
int sceUmdRegisterUMDCallBack(int cbid)
Register a callback for the UMD drive.
int sceUmdReplaceProhibit(void)
Prohibit UMD disc being replaced.
void sceUmdSetDriveStatus(int status)
Sets the current state of the UMD drive.
UmdDriveStat
Enumeration for UMD stats (legacy)
Definition pspumd.h:58
pspUmdState
Enumeration for UMD drive state.
Definition pspumd.h:47
int sceUmdWaitDriveStatWithTimer(int stat, unsigned int timeout)
Wait for the UMD drive to reach a certain state.
int sceUmdActivate(int unit, const char *drive)
Activates the UMD drive.
struct pspUmdInfo pspUmdInfo
UMD Info struct.
int(* UmdCallback)(int unknown, int event)
UMD Callback function.
Definition pspumd.h:66
int sceUmdWaitDriveStat(int stat)
Wait for the UMD drive to reach a certain state.
int sceUmdDeactivate(int unit, const char *drive)
Deativates the UMD drive.
int sceUmdCancelWaitDriveStat(void)
Cancel a sceUmdWait* call.
@ PSP_UMD_TYPE_GAME
Definition pspumd.h:40
@ PSP_UMD_TYPE_VIDEO
Definition pspumd.h:41
@ PSP_UMD_TYPE_AUDIO
Definition pspumd.h:42
@ UMD_WAITFORINIT
Wait for the UMD to be initialised so it can be accessed from the mapped drive.
Definition pspumd.h:62
@ UMD_WAITFORDISC
Wait for disc to be inserted.
Definition pspumd.h:60
@ PSP_UMD_PRESENT
Definition pspumd.h:49
@ PSP_UMD_CHANGED
Definition pspumd.h:50
@ PSP_UMD_READY
Definition pspumd.h:53
@ PSP_UMD_NOT_PRESENT
Definition pspumd.h:48
@ PSP_UMD_INITED
Definition pspumd.h:52
@ PSP_UMD_INITING
Definition pspumd.h:51
UMD Info struct.
Definition pspumd.h:29
unsigned int size
Set to sizeof(pspUmdInfo)
Definition pspumd.h:31
unsigned int type
One or more of pspUmdTypes.
Definition pspumd.h:33