diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2008-04-04 22:13:53 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2008-04-04 22:13:53 +0000 |
| commit | 32bd0f8ab1526e32011937a827b6e44476a6743e (patch) | |
| tree | c0bdfebc167a0b06daba4de23beba31027b0d693 /apps/plugins/zxbox | |
| parent | 391377725ea18688aa93c542a3b470df73b88f51 (diff) | |
| download | rockbox-32bd0f8ab1526e32011937a827b6e44476a6743e.zip rockbox-32bd0f8ab1526e32011937a827b6e44476a6743e.tar.gz rockbox-32bd0f8ab1526e32011937a827b6e44476a6743e.tar.bz2 rockbox-32bd0f8ab1526e32011937a827b6e44476a6743e.tar.xz | |
Greyscale library: Optionally put the greyscale ISR on COP on portalplayertargets (only use with the grey_info structure in IRAM atm\!). This speeds up doom by ~50%, and makes mpegplayer work without stuttering audio on targets using it (measured on iPod 2nd Gen and Mini 2nd Gen). It needs corelocking certain functions in the LCD driver on 1st/2nd Gen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16973 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/zxbox')
| -rw-r--r-- | apps/plugins/zxbox/zxbox.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/zxbox/zxbox.c b/apps/plugins/zxbox/zxbox.c index 198aeec..3d94981 100644 --- a/apps/plugins/zxbox/zxbox.c +++ b/apps/plugins/zxbox/zxbox.c @@ -74,9 +74,10 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) /* get the remainder of the plugin buffer */ gbuf = (unsigned char *) rb->plugin_get_buffer(&gbuf_size); #ifdef USE_BUFFERED_GREY - grey_init(rb, gbuf, gbuf_size, GREY_BUFFERED, LCD_WIDTH, LCD_HEIGHT, NULL); + grey_init(rb, gbuf, gbuf_size, GREY_BUFFERED|GREY_ON_COP, LCD_WIDTH, + LCD_HEIGHT, NULL); #else - grey_init(rb, gbuf, gbuf_size, 0, LCD_WIDTH, LCD_HEIGHT, NULL); + grey_init(rb, gbuf, gbuf_size, GREY_ON_COP, LCD_WIDTH, LCD_HEIGHT, NULL); #endif /* USE_BUFFERED_GREY */ /* switch on greyscale overlay */ grey_show(true); |