1
0
Fork 0
forked from len0rd/rockbox

revert scroll pause in continuous scrolling mode

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8115 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Marcoen Hirschberg 2005-11-30 15:37:48 +00:00
parent ad31ad4d1c
commit 40d22093c0
4 changed files with 12 additions and 20 deletions

View file

@ -765,11 +765,9 @@ static void scroll_thread(void)
}
}
else {
/* pause at beginning of line */
if (s->offset >= s->width) {
s->offset = 0;
s->start_tick = current_tick + scroll_delay * 2;
}
/* scroll forward the whole time */
if (s->offset >= s->width)
s->offset %= s->width;
}
lastmode = drawmode;

View file

@ -1323,11 +1323,9 @@ static void scroll_thread(void)
}
}
else {
/* pause at beginning of line */
if (s->offset >= s->width) {
s->offset = 0;
s->start_tick = current_tick + scroll_delay * 2;
}
/* scroll forward the whole time */
if (s->offset >= s->width)
s->offset %= s->width;
}
lastmode = drawmode;

View file

@ -1236,11 +1236,9 @@ static void scroll_thread(void)
}
}
else {
/* pause at beginning of line */
if (s->offset >= s->width) {
s->offset = 0;
s->start_tick = current_tick + scroll_delay * 2;
}
/* scroll forward the whole time */
if (s->offset >= s->width)
s->offset %= s->width;
}
lastmode = drawmode;

View file

@ -1065,11 +1065,9 @@ static void scroll_thread(void)
}
}
else {
/* pause at beginning of line */
if (s->offset >= s->width) {
s->offset = 0;
s->start_tick = current_tick + scroll_delay * 2;
}
/* scroll forward the whole time */
if (s->offset >= s->width)
s->offset %= s->width;
}
lastmode = drawmode;