mirror of https://github.com/RPCS3/rpcs3.git
Trophy fixed (#2687)
This commit is contained in:
parent
65bdcaed29
commit
617746606d
|
@ -241,8 +241,15 @@ s32 sceNpTrophyRegisterContext(ppu_thread& CPU, u32 context, u32 handle, vm::ptr
|
||||||
ctxt->tropusr.reset(tropusr);
|
ctxt->tropusr.reset(tropusr);
|
||||||
|
|
||||||
// TODO: Callbacks
|
// TODO: Callbacks
|
||||||
statusCb(CPU, context, SCE_NP_TROPHY_STATUS_INSTALLED, 100, 100, arg);
|
if (statusCb(CPU, context, SCE_NP_TROPHY_STATUS_INSTALLED, 100, 100, arg) < 0)
|
||||||
statusCb(CPU, context, SCE_NP_TROPHY_STATUS_PROCESSING_COMPLETE, 100, 100, arg);
|
{
|
||||||
|
return SCE_NP_TROPHY_ERROR_PROCESSING_ABORTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (statusCb(CPU, context, SCE_NP_TROPHY_STATUS_PROCESSING_COMPLETE, 100, 100, arg) < 0)
|
||||||
|
{
|
||||||
|
return SCE_NP_TROPHY_ERROR_PROCESSING_ABORTED;
|
||||||
|
}
|
||||||
|
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue