mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-01 06:10:07 +01: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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue