From e9d56db11660142304f3415a30ece02ae672d242 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 14 Mar 2016 23:01:38 +0100 Subject: Fix scrolling with direction==1 --- src/system.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/system.cc') diff --git a/src/system.cc b/src/system.cc index bf18003..e0765c2 100644 --- a/src/system.cc +++ b/src/system.cc @@ -88,6 +88,7 @@ void System::loadPattern_buf(uint8_t *pattern) } else if (active_anim.type == AnimationType::FRAMES) { active_anim.speed = ((pattern[2] & 0x0f) << 4) + 15; active_anim.delay = (pattern[3] & 0x0f) << 2; + active_anim.direction = 0; } active_anim.data = pattern + 4; -- cgit v1.2.3