summaryrefslogtreecommitdiffstats
path: root/apps/plugins/greyscale.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-01-13 00:11:43 +0000
committerJens Arnold <amiconn@rockbox.org>2008-01-13 00:11:43 +0000
commita72499a12541fa0348e92f88662d1efe15b0ea47 (patch)
tree32a874c093616649f49f4392207b738a6f7abed7 /apps/plugins/greyscale.c
parent43cc03457d2bda7eb3057f242ff7b23a9856408c (diff)
downloadrockbox-a72499a12541fa0348e92f88662d1efe15b0ea47.tar.gz
rockbox-a72499a12541fa0348e92f88662d1efe15b0ea47.tar.bz2
rockbox-a72499a12541fa0348e92f88662d1efe15b0ea47.zip
Greyscale library: Plugins can now put the management structure in IRAM for higher update speed. Use this in doom, mpegplayer, and zxbox. Made the api pointer part of the struct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16066 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/greyscale.c')
-rw-r--r--apps/plugins/greyscale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/greyscale.c b/apps/plugins/greyscale.c
index de90d5737f..6a574f3f6f 100644
--- a/apps/plugins/greyscale.c
+++ b/apps/plugins/greyscale.c
@@ -82,6 +82,7 @@ PLUGIN_HEADER
#endif
/******************************* Globals ***********************************/
+GREY_INFO_STRUCT
static struct plugin_api* rb; /* global api struct pointer */
static char pbuf[32]; /* global printf buffer */
static unsigned char *gbuf;