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

Fix clipping bug in M68000 ADD/CMP/SUB instructions #178

Merged
merged 1 commit into from
May 11, 2021
Merged

Fix clipping bug in M68000 ADD/CMP/SUB instructions #178

merged 1 commit into from
May 11, 2021

Conversation

near-san
Copy link
Contributor

The source and target values need to be clipped to their instruction size.
For instance, CMP.W should only compare the low 16-bits of the input values, not the entire 32-bits.
This will fix severe graphics corruption in the game Alien Soldier for the Mega Drive, and likely more games as well.

The source and target values need to be clipped to their instruction size.
For instance, CMP.W should only compare the low 16-bits of the input values, not the entire 32-bits.
This will fix severe graphics corruption in the game Alien Soldier for the Mega Drive, and likely more games as well.
@Kawa-oneechan Kawa-oneechan merged commit 354efff into higan-emu:master May 11, 2021
@Screwtapello
Copy link
Contributor

Thanks Near, and Kawa!

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