mirror of https://github.com/MLXXXp/Arduboy2.git
2941ed100f
The new compiler in Arduino IDE 1.8.6/1.8.7 has an optimization glitch where it fails to see the difference between a data structure in RAM and in PROGMEM when the data is the same and optimizes one out. drawPixel() is unable to fetch the correct pixel mask from the bitshift_left array in PROGMEM causing junk to be drawn. The bitshift_left[] array has now been optimised out and drawPixel() will function properly. The optimization uses the same number of cycles and saves 6 bytes. drawPixel() has also been made static so the Arduboy object pointer is no longer needlesly passed on to drawPixel() saving more bytes. |
||
---|---|---|
.. | ||
Arduboy2.cpp | ||
Arduboy2.h | ||
Arduboy2Audio.cpp | ||
Arduboy2Audio.h | ||
Arduboy2Beep.cpp | ||
Arduboy2Beep.h | ||
Arduboy2Core.cpp | ||
Arduboy2Core.h | ||
Sprites.cpp | ||
Sprites.h | ||
SpritesB.cpp | ||
SpritesB.h | ||
SpritesCommon.h | ||
ab_logo.c | ||
glcdfont.c |