forked from len0rd/rockbox
[Bugfix] Simulator doesn't scroll lists in plugins
unless lcd_update() is called the sim doesn't update scrolling you CANNOT call it from the scroll thread its simply ignored I suspect this has something to do with where the call to render originates as thi is the only thing I can think of besides a call to disable the render see demos/rb_info > paths -- observe the lack of scrolling see any menu in a plugin that exceeds screen width Change-Id: Ic14dee4a34de29479d739e6a280d6cf1cc283719
This commit is contained in:
parent
15b18e478c
commit
33c0c9efae
2 changed files with 24 additions and 2 deletions
|
@ -224,8 +224,11 @@ static void LCDFN(scroll_worker)(void)
|
|||
/* put the line onto the display now */
|
||||
makedelay = LCDFN(scroll_now(s));
|
||||
|
||||
#ifdef SIMULATOR /* Bugfix sim won't update screen unless called from active thread */
|
||||
LCDFN(set_viewport)(oldvp);
|
||||
#else
|
||||
LCDFN(set_viewport_ex)(oldvp, 0); /* don't mark the last vp as dirty */
|
||||
|
||||
#endif
|
||||
if (makedelay)
|
||||
s->start_tick += si->delay + si->ticks;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue