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

FEXCore: Fix RCL/RCR shift wraparound behaviour #3368

Merged
merged 3 commits into from
Jan 21, 2024

Conversation

bylaws
Copy link
Collaborator

@bylaws bylaws commented Jan 12, 2024

This lead to a crash in the far cry 6 demo due to an invalid RMIF encoding.

@bylaws bylaws changed the title FEXCore: Fix RCL/RCR shift wraparound behaviour DNM: FEXCore: Fix RCL/RCR shift wraparound behaviour Jan 12, 2024
This ends up being cleaner to handle outside of
CalculateFlags_ShiftVariable as constant masking is only needed for
RCL/RCR.
@bylaws bylaws changed the title DNM: FEXCore: Fix RCL/RCR shift wraparound behaviour FEXCore: Fix RCL/RCR shift wraparound behaviour Jan 21, 2024
@bylaws
Copy link
Collaborator Author

bylaws commented Jan 21, 2024

now ready for review

Copy link
Member

@Sonicadvance1 Sonicadvance1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice nice nice. Love to see the unit tests.

@Sonicadvance1 Sonicadvance1 merged commit c0be974 into FEX-Emu:main Jan 21, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants