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 rc_modified_memref_t #362

Merged
merged 21 commits into from
Oct 26, 2024

Conversation

Jamiras
Copy link
Member

@Jamiras Jamiras commented Aug 1, 2024

Creates intermediate memref's for indirect memref references (AddAddress) and calculated values (AddSource/SubSource).

This ensures all memory reads happen when processing a frame (eliminates indirect evaluation when building rich presence string https://discord.com/channels/310192285306454017/1076603222489301002/1255132332508184596).

This also allows these intermediate values to be used by multiple achievements without having to recalculate them in each achievement (the logic will still be duplicated, but when converting to runtime logic, it will identify and reuse the existing intermediate memrefs).

Furthermore, to ease debugging, a natvis file has been added for the runtime structures.

@Jamiras Jamiras added this to the 11.6.0 milestone Aug 1, 2024
@Jamiras Jamiras modified the milestones: 11.6.0, 11.7.0 Oct 7, 2024
@Jamiras Jamiras merged commit ed684fc into RetroAchievements:develop Oct 26, 2024
7 checks passed
@Jamiras Jamiras deleted the feature/modified_memref branch October 26, 2024 14:28
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