mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12:00
Remove sysutil callback
This commit is contained in:
parent
5b19908996
commit
e8bde583ef
1 changed files with 0 additions and 10 deletions
|
@ -909,16 +909,6 @@ s32 sceNpManagerRegisterCallback(vm::ptr<SceNpManagerCallback> callback, vm::ptr
|
||||||
return SCE_NP_ERROR_INVALID_ARGUMENT;
|
return SCE_NP_ERROR_INVALID_ARGUMENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
sysutil_register_cb([=](ppu_thread& ppu)->s32
|
|
||||||
{
|
|
||||||
callback(ppu, SCE_NP_MANAGER_STATUS_OFFLINE, CELL_OK, arg.addr());
|
|
||||||
return CELL_OK;
|
|
||||||
});
|
|
||||||
|
|
||||||
// TODO:
|
|
||||||
// * Save the callback somewhere for future updates once network is implemented
|
|
||||||
// * If register is called again, created cb needs to be canceled
|
|
||||||
|
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue