diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-01-13 00:11:43 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-01-13 00:11:43 +0000 |
commit | a72499a12541fa0348e92f88662d1efe15b0ea47 (patch) | |
tree | 32a874c093616649f49f4392207b738a6f7abed7 /apps/plugins/doom | |
parent | 43cc03457d2bda7eb3057f242ff7b23a9856408c (diff) | |
download | rockbox-a72499a12541fa0348e92f88662d1efe15b0ea47.tar.gz 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/doom')
-rw-r--r-- | apps/plugins/doom/i_video.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index cc5036c59d..b466392319 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c | |||
@@ -118,6 +118,7 @@ | |||
118 | 118 | ||
119 | #ifndef HAVE_LCD_COLOR | 119 | #ifndef HAVE_LCD_COLOR |
120 | #include "../lib/grey.h" | 120 | #include "../lib/grey.h" |
121 | GREY_INFO_STRUCT_IRAM | ||
121 | static unsigned char greybuffer[LCD_WIDTH] IBSS_ATTR; /* off screen buffer */ | 122 | static unsigned char greybuffer[LCD_WIDTH] IBSS_ATTR; /* off screen buffer */ |
122 | static unsigned char *gbuf; | 123 | static unsigned char *gbuf; |
123 | #if LCD_PIXELFORMAT == HORIZONTAL_PACKING | 124 | #if LCD_PIXELFORMAT == HORIZONTAL_PACKING |