Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated SetSearchKey function to handle null search #974

Merged
merged 4 commits into from
Sep 22, 2023

Conversation

Squall-Leonhart
Copy link
Contributor

@Squall-Leonhart Squall-Leonhart commented Sep 21, 2023

Updated SetSearchKey function to handle null search keys. If a null search key is provided, the function now clears the search key at the specified index and returns success.

Fixes #973

Added null check for searchKey in SetSearchKeySingle function to prevent exceptions when data is unavailable or incorrect.
no behavioral change, just more in lin with the rest of the file and C++ consistency.
@Squall-Leonhart Squall-Leonhart changed the title add null check to SetSearchKeySingle in nn_olv_PostTypes.h Updated SetSearchKey function to handle null search Sep 22, 2023
Updated SetSearchKey function to handle null search keys. If a null search key is provided, the function now clears the search key at the specified index and returns success.
@Exzap Exzap merged commit 638c401 into cemu-project:main Sep 22, 2023
5 checks passed
@Squall-Leonhart Squall-Leonhart deleted the REMIXFIX branch September 22, 2023 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NES Remix 1 and 2 crash after start on menu from version 2.0-46 onwards
2 participants