int MyUMDInfo;
int MyUMDState;
pspUmdInfo info;
if (sceUmdCheckMedium()==0)
{
printf("No UMD present \n");
}
else
{
printf("UMD present \n");
MyUMDInfo=sceUmdGetDiscInfo(&info);
##### here I'd like to print out size and type (audio, video or game)
sceUmdActivate(1, "disc0:"); sceUmdWaitDriveStat(PSP_UMD_READY);
}
MyUMDState=sceUmdGetDriveStat();
I'd like to print out the UMD Info: size and type, but I cannot.
printf("UMD SIZE: %l \n",info.size);
if (info.type==PSP_UMD_TYPE_GAME )
{printf("UMD TYPE: GAME \n");}
..... so on for other type....