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

OpcodeDispatcher: Mark CF as being possibly set after inverting #4163

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bylaws
Copy link
Collaborator

@bylaws bylaws commented Nov 17, 2024

Required as if for example CF is non-inverted, code zeroing it doesn't need to mark it as being possibly set, however after inverting it will now be set. To be safe, always mark it as possibly set after inversion.

Fixes crashes with MaxInst > 2 in Uplay

Required as if for example CF is non-inverted, code zeroing it doesn't
need to mark it as being possibly set, however after inverting it will
now be set. To be safe, always mark it as possibly set after inversion.
@bylaws bylaws marked this pull request as ready for review November 17, 2024 00:44
@Sonicadvance1
Copy link
Member

I can only assume the ASM test is breaking since the register state isn't setup coming in to the test.

@alyssarosenzweig
Copy link
Collaborator

this is "correct" but I'd like to see if there's a better fix possible, now that CI is up and I can test things again

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.

3 participants