diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-03-14 23:01:38 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-03-14 23:01:56 +0100 |
commit | e9d56db11660142304f3415a30ece02ae672d242 (patch) | |
tree | f48c76b14db4898f1aede2cdc9a9c3997d1959fe /src/system.cc | |
parent | d30204f17d8c7e295df17c290d9f690996e44556 (diff) |
Fix scrolling with direction==1
Diffstat (limited to 'src/system.cc')
-rw-r--r-- | src/system.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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; |