diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-08-07 01:46:42 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-08-07 01:46:42 +0000 |
commit | c214e7bb0c3e97d22ecedb1c62f193e19a1d4818 (patch) | |
tree | 6d8b18694076dcf1d0fa2f02f558f78e572327b4 /apps/plugins/plasma.c | |
parent | 5375e26e51e9c6eaded4f733bf60cc8bbf662a8a (diff) | |
download | rockbox-c214e7bb0c3e97d22ecedb1c62f193e19a1d4818.tar.gz rockbox-c214e7bb0c3e97d22ecedb1c62f193e19a1d4818.zip |
Grayscale library ported to the grayscale iPods, first version. Added C reference versions of gray_update_rect() for both horizontal and vertical pixel packing. gray_update_rect() and gray_ub_gray_bitmap_part() not yet assembler optimised. Grayscale screendump doesn't work yet. * Fixed button assignments for iPod in grayscale.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10468 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plasma.c')
-rw-r--r-- | apps/plugins/plasma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/plasma.c b/apps/plugins/plasma.c index 676dba9a54..77c489f2ae 100644 --- a/apps/plugins/plasma.c +++ b/apps/plugins/plasma.c | |||
@@ -243,7 +243,7 @@ int main(void) | |||
243 | /* get the remainder of the plugin buffer */ | 243 | /* get the remainder of the plugin buffer */ |
244 | gbuf = (unsigned char *) rb->plugin_get_buffer(&gbuf_size); | 244 | gbuf = (unsigned char *) rb->plugin_get_buffer(&gbuf_size); |
245 | 245 | ||
246 | gray_init(rb, gbuf, gbuf_size, false, LCD_WIDTH, LCD_HEIGHT/8, 32, 2<<8, NULL); | 246 | gray_init(rb, gbuf, gbuf_size, false, LCD_WIDTH, LCD_HEIGHT, 32, 2<<8, NULL); |
247 | /* switch on grayscale overlay */ | 247 | /* switch on grayscale overlay */ |
248 | gray_show(true); | 248 | gray_show(true); |
249 | #endif | 249 | #endif |