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

Remote API: hle.func.removeRange added #16187

Merged
merged 1 commit into from
Oct 9, 2022

Conversation

Nemoumbra
Copy link
Contributor

This method removes functions that intersect (or lie inside) a given range. Can be used to undo hle.func.scan.

}

u32 counter = 0;
for (u32 current_addr = first_address; (current_addr < addr + size) && current_addr != SymbolMap::INVALID_ADDRESS; current_addr = g_symbolMap->GetNextSymbolAddress(addr, SymbolType::ST_FUNCTION)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This line feels awkwardly long, might be better as a while. But I suppose it's fine.

-[Unknown]

@unknownbrackets
Copy link
Collaborator

Thanks for fixing my typos.

-[Unknown]

@unknownbrackets unknownbrackets merged commit 199bfe4 into hrydgard:master Oct 9, 2022
@unknownbrackets unknownbrackets added this to the v1.14.0 milestone Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants