From 9e0b881b2befc5dfed23befb30b572ea719f4178 Mon Sep 17 00:00:00 2001 From: clienthax Date: Tue, 14 Nov 2017 20:10:31 +0000 Subject: [PATCH] Fire callback in cellSearchInitialize Allows BLJS10131 to get ingame ;) --- rpcs3/Emu/Cell/Modules/cellSearch.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellSearch.cpp b/rpcs3/Emu/Cell/Modules/cellSearch.cpp index 66dfa1a77..799f95fa9 100644 --- a/rpcs3/Emu/Cell/Modules/cellSearch.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSearch.cpp @@ -6,11 +6,14 @@ logs::channel cellSearch("cellSearch"); -s32 cellSearchInitialize(CellSearchMode mode, u32 container, vm::ptr func, vm::ptr userData) +s32 cellSearchInitialize(ppu_thread& ppu, CellSearchMode mode, u32 container, vm::ptr func, vm::ptr 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; }