Skip to content

Commit

Permalink
Merge branch 'REMIXFIX' of https://github.com/Squall-Leonhart/Cemu in…
Browse files Browse the repository at this point in the history
…to REMIXFIX
  • Loading branch information
Squall-Leonhart committed Sep 22, 2023
2 parents 6e5503c + 2ad531b commit 3a91784
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Cafe/OS/libs/nn_olv/nn_olv_PostTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,11 @@ namespace nn
// SetSearchKey__Q3_2nn3olv25DownloadPostDataListParamFPCwUc
static nnResult SetSearchKey(DownloadPostDataListParam* _this, const uint16be* searchKey, uint8 searchKeyIndex)
{
if( !searchKey )
{
memset(&_this->searchKeyArray[searchKeyIndex], 0, sizeof(SearchKey));
return OLV_RESULT_SUCCESS;
}
if (searchKeyIndex >= MAX_NUM_SEARCH_KEY)
return OLV_RESULT_INVALID_PARAMETER;
memset(&_this->searchKeyArray[searchKeyIndex], 0, sizeof(SearchKey));
Expand Down

0 comments on commit 3a91784

Please sign in to comment.