mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 13:13:43 +00:00
Fix sceNp2Init
This commit is contained in:
parent
538a5cc9d8
commit
c50119aefa
@ -188,9 +188,9 @@ error_code sceNp2Init(u64 poolsize, vm::ptr<void> poolptr)
|
|||||||
return SCE_NP_ERROR_ALREADY_INITIALIZED;
|
return SCE_NP_ERROR_ALREADY_INITIALIZED;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto result = sceNpInit(poolsize, poolptr);
|
const u32 result = std::bit_cast<u32>(sceNpInit(poolsize, poolptr));
|
||||||
|
|
||||||
if (result != CELL_OK)
|
if (result && result != SCE_NP_ERROR_ALREADY_INITIALIZED)
|
||||||
{
|
{
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user