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

Add Pointer Inspector dialog #1136

Merged
merged 10 commits into from
Jan 4, 2025

Conversation

Jamiras
Copy link
Member

@Jamiras Jamiras commented Dec 27, 2024

This feature is incomplete
At this time, the dialog is just a viewer, and the Add Bookmark button doesn't work. That will be added in a future PR, along with the ability to edit notes and add new fields.

These examples are from GBA, where the conversion from real address to RA address is mask to 24 bit and add 8000. The note has those baked in by specifying a 24-bit pointer size and using +800X for offsets. On other systems where there's a mask applied, the logic added in #1114 will apply an appropriate mask when following the pointer chain.

Supports Pause on Change behavior
image

And shows invalid pointers in the chain (red is null, yellow is outside valid range)
image

The dropdown in the upper right allows the user to select the current node for viewing in the rest of the dialog.

While the format and behavior fields can be changed, those changes are not persisted in any way. Changing the root address or selected node and coming back will reset everything to Hex and not Pause on Change. That functionality may not even be needed after the Add Bookmark functionality is in place.

Changing the size field will be persisted (in a future PR) by updating the note.

@Jamiras Jamiras added this to the 1.3.2 milestone Dec 27, 2024
@Jamiras Jamiras merged commit c120339 into RetroAchievements:master Jan 4, 2025
6 checks passed
@Jamiras Jamiras deleted the feature/pointer_inspector branch January 4, 2025 15:57
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.

1 participant