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

[DHooks] Extend information when CHook::GetReturnAddress fails #2123

Open
xerox8521 opened this issue Mar 7, 2024 · 0 comments
Open

[DHooks] Extend information when CHook::GetReturnAddress fails #2123

xerox8521 opened this issue Mar 7, 2024 · 0 comments

Comments

@xerox8521
Copy link
Contributor

When CHook::GetReturnAddress fails it will log an error stating that it failed and you should check for return type and parameter information. However it doesn't provide any further detail like which detour has caused this error.
Which can lead to looking for a needle in a haystack.
It would probably just fine to add the name you provided in the "Functions" section of the game data file in the error message.

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

No branches or pull requests

1 participant