From a72499a12541fa0348e92f88662d1efe15b0ea47 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 13 Jan 2008 00:11:43 +0000 Subject: 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 --- apps/plugins/plasma.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/plugins/plasma.c') diff --git a/apps/plugins/plasma.c b/apps/plugins/plasma.c index 4f5fc39eb2..ce2af5c87b 100644 --- a/apps/plugins/plasma.c +++ b/apps/plugins/plasma.c @@ -44,6 +44,7 @@ static int redfactor = 1, greenfactor = 2, bluefactor = 3; static int redphase = 0, greenphase = 50, bluephase = 100; /* lower chance of gray at regular intervals */ #else +GREY_INFO_STRUCT static unsigned char colours[256]; /* Smooth transition of shades */ static unsigned char greybuffer[LCD_HEIGHT*LCD_WIDTH]; /* off screen buffer */ static unsigned char *gbuf; -- cgit v1.2.3