1
0
Fork 0
forked from len0rd/rockbox

H1x0: Put lcd_blit() intermediate buffers in IRAM instead of the current thread stack. Speeds up the grayscale library.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7806 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-11-09 23:24:33 +00:00
parent edf5a70e27
commit bfe28d9ecc

View file

@ -212,8 +212,8 @@ void lcd_blit(const unsigned char* data, int x, int by, int width,
{
const unsigned char *src, *src_end;
unsigned char *dst_u, *dst_l;
unsigned char upper[LCD_WIDTH];
unsigned char lower[LCD_WIDTH];
static unsigned char upper[LCD_WIDTH] IBSS_ATTR;
static unsigned char lower[LCD_WIDTH] IBSS_ATTR;
unsigned int byte;
by *= 2;