Skip to content

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

Open
@xerox8521

Description

@xerox8521

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueIssues that are suitable for first-time contributors.Help Wantedup for grabs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions