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

Debugger: Add option to display VU0F registers as floats #4638

Merged
merged 4 commits into from Aug 7, 2021

Conversation

F0bes
Copy link
Member

@F0bes F0bes commented Aug 1, 2021

Description of Changes

Add an option to the VU0f context menu that allows you to toggle the float view
Add a title to the VU0f register list that identifies the registers w/z/y/x subsections

Rationale behind Changes

Reading float values as hex sucks

Suggested Testing Steps

Play around with the VU0f register section

Screenshots

New VU0F hex view
image

New VU0F float view
image

Display as float context menu
image

Display as float context menu (when display as float is disabled)
image

Also supports 32 and 64 bit views!
32 bit
image
64 bit
image

Notes:

Also, large floating point numbers are kind of weird.
If anyone has a solution (maybe using %g as the format specifier?) I couldn't get a good result however.

Closes #2779

@F0bes
Copy link
Member Author

F0bes commented Aug 2, 2021

Ok I made it not shit

@refractionpcsx2 refractionpcsx2 merged commit 87ee413 into PCSX2:master Aug 7, 2021
@F0bes F0bes deleted the debugger-vu0fdisp branch January 13, 2023 18:04
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