update Arduboy FX library to 1.0.6

fix corruption of register r17 in drawFrame
This commit is contained in:
Mr.Blinky 2023-01-17 21:59:25 +01:00
parent 4be648b6e6
commit 0b0e9a7136
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
name=ArduboyFX
version=1.0.5
version=1.0.6
author=Mr.Blinky
maintainer=mstr.blinky@gmail.com
sentence=The Arduboy FX library.

View File

@ -800,7 +800,7 @@ uint24_t FX::drawFrame(uint24_t address) //~94 bytes
"mov r20, r24 \n" // bmp address
"movw r18, r22 \n"
"call %x3 \n"
"movw r16, r24 \n" // frame
"mov r16, r24 \n" // frame
"call %x4 \n"
"mov r14, r24 \n" // mode
"movw r24, r30 \n" // x