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:
parent
edf5a70e27
commit
bfe28d9ecc
1 changed files with 2 additions and 2 deletions
|
|
@ -212,8 +212,8 @@ void lcd_blit(const unsigned char* data, int x, int by, int width,
|
||||||
{
|
{
|
||||||
const unsigned char *src, *src_end;
|
const unsigned char *src, *src_end;
|
||||||
unsigned char *dst_u, *dst_l;
|
unsigned char *dst_u, *dst_l;
|
||||||
unsigned char upper[LCD_WIDTH];
|
static unsigned char upper[LCD_WIDTH] IBSS_ATTR;
|
||||||
unsigned char lower[LCD_WIDTH];
|
static unsigned char lower[LCD_WIDTH] IBSS_ATTR;
|
||||||
unsigned int byte;
|
unsigned int byte;
|
||||||
|
|
||||||
by *= 2;
|
by *= 2;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue