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:35
int sceUmdRegisterUMDCallBack(int cbid)
Register a callback for the UMD drive.
int sceUmdReplaceProhibit(void)
Prohibit UMD disc being replaced.
UmdDriveStat
Enumeration for UMD stats (legacy)
Definition pspumd.h:54
pspUmdState
Enumeration for UMD drive state.
Definition pspumd.h:43
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.
int(* UmdCallback)(int unknown, int event)
UMD Callback function.
Definition pspumd.h:62
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:36
@ PSP_UMD_TYPE_VIDEO
Definition pspumd.h:37
@ PSP_UMD_TYPE_AUDIO
Definition pspumd.h:38
@ UMD_WAITFORINIT
Wait for the UMD to be initialised so it can be accessed from the mapped drive.
Definition pspumd.h:58
@ UMD_WAITFORDISC
Wait for disc to be inserted.
Definition pspumd.h:56
@ PSP_UMD_PRESENT
Definition pspumd.h:45
@ PSP_UMD_CHANGED
Definition pspumd.h:46
@ PSP_UMD_READY
Definition pspumd.h:49
@ PSP_UMD_NOT_PRESENT
Definition pspumd.h:44
@ PSP_UMD_INITED
Definition pspumd.h:48
@ PSP_UMD_INITING
Definition pspumd.h:47
float x
Definition psptypes.h:0
UMD Info struct.
Definition pspumd.h:25
unsigned int size
Set to sizeof(pspUmdInfo)
Definition pspumd.h:27
unsigned int type
One or more of pspUmdTypes.
Definition pspumd.h:29