Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

gfx: Mode 7 fixes and optimisations #9

Merged
merged 1 commit into from
May 14, 2022
Merged

Conversation

jSTE0
Copy link

@jSTE0 jSTE0 commented Feb 25, 2022

I've used this on top of #6 and created a PGOed binary (with a mode 7 game, leaving it to run the demo) but it still doesn't beat the performance of your binary but then there's a quite a bit of run-to-run variance (as much as 30%) so it's hard to tell.

Backport mode 7 fixes and optimisations from snes9x-1.41, in particular
the fixed clipping also drops the modulo 1023 in favour of bit-
manipulation which removes a long multiplication.
Backport dropping of the game-specific fix from snes9x-1.42.
@m45t3r m45t3r merged commit e8023a5 into m45t3r:master May 14, 2022
@jSTE0 jSTE0 deleted the mode7opt branch May 15, 2022 22:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants