Fix improper masking in Sprites drawPlusMask()

As per Josh Goebel @yyyc514
This commit is contained in:
Scott Allen 2017-04-25 11:43:18 -04:00
parent babf6893c8
commit a01ceffb20
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ void Sprites::drawBitmap(int16_t x, int16_t y,
// then
"ld %[data], Y\n"
"com %B[mask_data]\n" // invert high byte of mask
"and %[data], r1\n" // %B[mask_data]
"and %[data], %B[mask_data]\n"
"or %[data], %B[bitmap_data]\n"
// update buffer, increment
"st Y+, %[data]\n"