Skip to content

Commit

Permalink
Return PSP_UMD_READY when sceKernelGetCompiledSdkVersion() != 0
Browse files Browse the repository at this point in the history
  • Loading branch information
raven02 committed Feb 2, 2014
1 parent faf6f95 commit 3891d24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Core/HLE/sceUmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ void __UmdStatChange(u64 userdata, int cyclesLate)
void __KernelUmdActivate()
{
u32 notifyArg = PSP_UMD_PRESENT | PSP_UMD_READABLE;
// PSP_UMD_READY will be returned when sceKernelGetCompiledSdkVersion() != 0
if (sceKernelGetCompiledSdkVersion() != 0) {
notifyArg |= PSP_UMD_READY;
}
if (driveCBId != 0)
__KernelNotifyCallback(driveCBId, notifyArg);

Expand Down

0 comments on commit 3891d24

Please sign in to comment.