Debugger: Add option to display VU0F registers as floats #4638
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
New VU0F float view
Display as float context menu
Display as float context menu (when display as float is disabled)
Also supports 32 and 64 bit views!
32 bit
64 bit
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