tzlion / hhugboy

A Game Boy (Color) emulator for Windows, based on GEST v1.1.1 by TM, with added support for unlicensed mappers, Unicode filenames, screenshots and some other stuff.
http://hhug.me/
GNU General Public License v2.0
75 stars 10 forks source link

Correctly fill LSB bits during 32-bit graphics rendering. Adjust frame mixing code accordingly. #40

Closed NRS-NewRisingSun closed 3 years ago

NRS-NewRisingSun commented 3 years ago

…There are two issues in the rendering code:

This commit fills the three LSB bits during 32-bit rendering, and adjusts the frame-mixing code accordingly. As a side benefit, 16-bit frame mixing no longer has varying greenish tints either, and the frame mixing code becomes more readable.

Supersedes PR #39