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

Core/CheatSearch: Avoid length underflow on new search. #10103

Merged

Conversation

AdmiralCurtiss
Copy link
Contributor

Small thing I overlooked. If you enter a cheat search with a region length smaller than the value length you're searching for, you may end up underflowing the length, practically deadlocking the emulator.

@lioncash lioncash merged commit ca2589f into dolphin-emu:master Sep 19, 2021
10 checks passed
@AdmiralCurtiss AdmiralCurtiss deleted the cheat-search-length-underflow branch September 19, 2021 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants