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

Rename and consolidate log functions #19931

Merged
merged 2 commits into from
Jan 29, 2025
Merged

Rename and consolidate log functions #19931

merged 2 commits into from
Jan 29, 2025

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Jan 29, 2025

This consolidates HLE logging into fewer, more logical functions. Also, removes the distinction between *LogX and *LogI functions, the type used when logging the return value is now taken from the HLE function metadata.

The next step will be to add a 'e'/'E' (int vs u32) return type that will automatically decode and display error codes as text, but I don't want to include that here to reduce the size of this change.

@hrydgard hrydgard added the Code Cleanup Cleanup to make future work easier. Needs to be done sometimes. label Jan 29, 2025
@hrydgard hrydgard force-pushed the rename-log-functions branch from dad5247 to 2af7a04 Compare January 29, 2025 09:15
@hrydgard hrydgard merged commit 9ad42bc into master Jan 29, 2025
19 checks passed
@hrydgard hrydgard deleted the rename-log-functions branch January 29, 2025 09:36
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