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

blitter.cpp - do_blitter2() #99

Closed
PandTomB opened this issue Dec 16, 2015 · 1 comment
Closed

blitter.cpp - do_blitter2() #99

PandTomB opened this issue Dec 16, 2015 · 1 comment

Comments

@PandTomB
Copy link

I think the line
blit_firstline_cycles = blit_first_cycle + (blit_diag[0] * blt_info.hblitsize + cpu_cycles) * CYCLE_UNIT;
should be replaced by
blit_firstline_cycles = blit_first_cycle + (blit_diag[0] * blt_info.hblitsize) * CYCLE_UNIT + cpu_cycles;
because cpu_cycles are already scaled by CYCLE_UNIT.

@tonioni
Copy link
Owner

tonioni commented Dec 16, 2015

Correct, thanks. It is so rarely used hack in non-cycle exact modes that it never caused any noticeable side-effects.

@tonioni tonioni closed this as completed Dec 16, 2015
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

No branches or pull requests

2 participants