Thanks, good to know. I suppose you could check by trying it on an edge-case, such as a pattern of alternating red and green pixels... on the other hand, the beauty of fast and loose hacks is that they often get you 99% of the way there.

P.S.: in the "Small World" department, that Cold Dreams screenshot from MobyGames was submitted by me. :) Jeez, 2013...