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

Debugger: Fix issue were loaded memory breakpoints were not being triggered (break) #9524

Merged
merged 1 commit into from Feb 21, 2021

Conversation

InusualZ
Copy link
Contributor

This was caused, because we were saving the break_on_hit flag with the letter p. Then while loading the breakpoints, we read the flag with the letter b, resulting in the break_on_hit flag being always false.

This was caused, because we were saving the `break_on_hit` flag with the letter `p`. Then while loading the breakpoints, we read the flag with the letter `b`, resulting in the `break_on_hit` flag being always false
Copy link
Contributor

@sepalani sepalani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and matches code breakpoints behaviour.

@AdmiralCurtiss
Copy link
Contributor

Is... there a reason this is stored in a string instead of, like, a struct or a bitfield?

@sepalani
Copy link
Contributor

Probably because they are saved to and loaded from an INI file.

@AdmiralCurtiss
Copy link
Contributor

I feel like this should be changed to not a string with magic letters at some point, but this is free to merge in the meantime IMO.

@leoetlino leoetlino merged commit 1fe0953 into dolphin-emu:master Feb 21, 2021
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants