mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 09:09:29 +01:00
Dividing by 256 gives us a range of 0-253, and incorrectly gets zero for some components (guessing alpha, primarily?) in some games. Dividing by 255 has a speed hit, so a slight bias to the top left seems like a decent performance compromise (and it's a very slight bias.)