Skip to content

Commit

Permalink
Merge pull request #5309 from raven02/patch-20
Browse files Browse the repository at this point in the history
Return PSP_UMD_READY when sceKernelGetCompiledSdkVersion() != 0
  • Loading branch information
hrydgard committed Feb 2, 2014
2 parents c9c179d + 3891d24 commit 35f72df
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 35f72df

Please sign in to comment.