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

Correct logging for "recursive" syscalls #19893

Merged
merged 11 commits into from
Jan 20, 2025
Merged

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Jan 19, 2025

We have a convenient way to automatically log parameters of HLE syscalls. Unfortunately it breaks down when one syscall calls another.

This fixes that by introducing "hleCall()", and imposing some new rules. To make this work, i've had to fix a LOT of logging inconsistencies and cleaned things up.

Long term this is probably worth it for more accurate logs.

Also unbreaks Tekken 6 which I accidentally broke recently. (edit: fixed separately in #19895 )

@hrydgard hrydgard added the Code Cleanup Cleanup to make future work easier. Needs to be done sometimes. label Jan 19, 2025
@hrydgard hrydgard added this to the v1.19.0 milestone Jan 19, 2025
@hrydgard hrydgard mentioned this pull request Jan 20, 2025
@hrydgard hrydgard force-pushed the syscall-log-recursion branch from a2d436b to 0d21d37 Compare January 20, 2025 11:20
@hrydgard hrydgard marked this pull request as ready for review January 20, 2025 11:21
@hrydgard hrydgard merged commit 6094031 into master Jan 20, 2025
19 checks passed
@hrydgard hrydgard deleted the syscall-log-recursion branch January 20, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup Cleanup to make future work easier. Needs to be done sometimes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant