forked from len0rd/rockbox
Adapt the remaining plugins to put the greyscale isr on cop. Now they can be used while playing music without making the audio stutter. Needs the new SHAREDBSS_ATTR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16987 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cf6510567a
commit
df8749d6d7
7 changed files with 11 additions and 7 deletions
|
|
@ -286,7 +286,8 @@ static void time_greyscale(void)
|
|||
int fps, load;
|
||||
|
||||
gbuf = (unsigned char *) rb->plugin_get_buffer(&gbuf_size);
|
||||
if (!grey_init(rb, gbuf, gbuf_size, GREY_ON_COP, LCD_WIDTH, LCD_HEIGHT, NULL))
|
||||
if (!grey_init(rb, gbuf, gbuf_size, GREY_ON_COP,
|
||||
LCD_WIDTH, LCD_HEIGHT, NULL))
|
||||
{
|
||||
log_text("greylib: out of memory.");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue