Mantis - Squeak
Viewing Issue Advanced Details
7790 Any major always 10-08-13 01:26 10-08-13 01:28
tim  
tim  
urgent  
closed 4.4  
fixed  
none    
none 4.4  
0007790: Raspberry Pi related faster bitblt code problem with tallyIntoMap combination rule
Reported issue was some PNG file provided as media of Scratch suddenly loading as invisible sprites.

Debugging the image showed a problem in the colorReduced method because the tallyIntoMap bitblt rule was producing incorrect values. After much staring at code we discovered a minuscule typo that had a constant in BitBltSimulation>>copyBits:Fallback: as 16r3FFF instead of 16r7FFF and thus the cmMask value used to write into the map array was wrong.
Fixed in VMMaker-tpr.326

Notes
(0014464)
tim   
10-08-13 01:28   
All better now