summaryrefslogtreecommitdiffstats
path: root/apps/plugins/greyscale.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-04-06 13:59:31 +0000
committerJens Arnold <amiconn@rockbox.org>2008-04-06 13:59:31 +0000
commitdf8749d6d7a52034b7b1872ee421c4c6012f8c0a (patch)
treeed2ae2c520cc391dcd30d9f0a2372373a21449e6 /apps/plugins/greyscale.c
parentcf6510567a5e5ebe2386b1348f72d387dee1f256 (diff)
downloadrockbox-df8749d6d7a52034b7b1872ee421c4c6012f8c0a.tar.gz
rockbox-df8749d6d7a52034b7b1872ee421c4c6012f8c0a.tar.bz2
rockbox-df8749d6d7a52034b7b1872ee421c4c6012f8c0a.zip
Adapt the remaining plugins to put the greyscale isr on cop. Now they can be used while playing music without making the audio stutter. Needs the new SHAREDBSS_ATTR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16987 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/greyscale.c')
-rw-r--r--apps/plugins/greyscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/greyscale.c b/apps/plugins/greyscale.c
index 42ba08f22e..aba5dcc05b 100644
--- a/apps/plugins/greyscale.c
+++ b/apps/plugins/greyscale.c
@@ -210,7 +210,7 @@ int main(void)
/* initialize the greyscale buffer:
Archos: 112 pixels wide, 7 rows (56 pixels) high.
H1x0: 160 pixels wide, 30 rows (120 pixels) high. */
- if (!grey_init(rb, gbuf, gbuf_size, GREY_BUFFERED,
+ if (!grey_init(rb, gbuf, gbuf_size, GREY_BUFFERED|GREY_ON_COP,
LCD_WIDTH, GFX_HEIGHT, NULL))
{
rb->splash(HZ, "Not enough memory.");