mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
Fix trophy regression
Hopefully Correct status order
This commit is contained in:
parent
27474316fd
commit
d7b0344091
1 changed files with 12 additions and 2 deletions
|
@ -315,9 +315,19 @@ error_code sceNpTrophyRegisterContext(ppu_thread& ppu, u32 context, u32 handle,
|
||||||
// * Update (Required update) - Setup - Progress * ? - Finalize - Complete - Installed
|
// * Update (Required update) - Setup - Progress * ? - Finalize - Complete - Installed
|
||||||
// * Installed
|
// * Installed
|
||||||
// We will go with the easy path of Installed, and that's it.
|
// We will go with the easy path of Installed, and that's it.
|
||||||
if (statusCb(ppu, context, SCE_NP_TROPHY_STATUS_INSTALLED, 100, 100, arg) < 0)
|
|
||||||
|
auto statuses = {SCE_NP_TROPHY_STATUS_NOT_INSTALLED,
|
||||||
|
SCE_NP_TROPHY_STATUS_PROCESSING_SETUP,
|
||||||
|
SCE_NP_TROPHY_STATUS_PROCESSING_PROGRESS,
|
||||||
|
SCE_NP_TROPHY_STATUS_PROCESSING_FINALIZE,
|
||||||
|
SCE_NP_TROPHY_STATUS_PROCESSING_COMPLETE};
|
||||||
|
|
||||||
|
for (auto status : statuses)
|
||||||
{
|
{
|
||||||
return SCE_NP_TROPHY_ERROR_PROCESSING_ABORTED;
|
if (statusCb(ppu, context, status, 100, 100, arg) < 0)
|
||||||
|
{
|
||||||
|
return SCE_NP_TROPHY_ERROR_PROCESSING_ABORTED;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue