Fire callback in cellSearchInitialize

Allows BLJS10131 to get ingame ;)
This commit is contained in:
clienthax 2017-11-14 20:10:31 +00:00 committed by Ivan
parent 946ba3be29
commit 9e0b881b2b

View File

@ -6,11 +6,14 @@
logs::channel cellSearch("cellSearch");
s32 cellSearchInitialize(CellSearchMode mode, u32 container, vm::ptr<CellSearchSystemCallback> func, vm::ptr<u32> userData)
s32 cellSearchInitialize(ppu_thread& ppu, CellSearchMode mode, u32 container, vm::ptr<CellSearchSystemCallback> func, vm::ptr<u32> userData)
{
cellSearch.warning("cellSearchInitialize()");
// TODO: Store the arguments somewhere so we can use them later.
//inform callback that search is alive
func(ppu, CELL_SEARCH_EVENT_INITIALIZE_RESULT, CELL_OK, vm::null, userData);
return CELL_OK;
}