From a01ceffb208ec92b2edb47e4c464a8a07dd84667 Mon Sep 17 00:00:00 2001 From: Scott Allen Date: Tue, 25 Apr 2017 11:43:18 -0400 Subject: [PATCH] Fix improper masking in Sprites drawPlusMask() As per Josh Goebel @yyyc514 --- src/Sprites.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sprites.cpp b/src/Sprites.cpp index 6c52e98..5371c39 100644 --- a/src/Sprites.cpp +++ b/src/Sprites.cpp @@ -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"