cellSearch: another memory access fix

This commit is contained in:
Eladash 2020-02-12 18:33:13 +02:00 committed by Ivan
parent 9760053c8c
commit 78c49e7331

View File

@ -366,7 +366,7 @@ error_code cellSearchStartContentSearch(CellSearchContentSearchType type, CellSe
sysutil_register_cb([=, content_map = g_fxo->get<ContentIdMap>()](ppu_thread& ppu) -> s32
{
auto curr_search = idm::get<search_object_t>(*outSearchId);
auto curr_search = idm::get<search_object_t>(id);
vm::var<CellSearchResultParam> resultParam;
resultParam->searchId = id;
resultParam->resultNum = 0; // Set again later