forked from len0rd/rockbox
Really fix the red this time, I hope.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17003 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6bef4f6549
commit
fdb1028cb1
1 changed files with 4 additions and 0 deletions
|
@ -295,7 +295,11 @@ static bool load_resize_bitmap(void)
|
||||||
FORMAT_NATIVE );
|
FORMAT_NATIVE );
|
||||||
if( rc > 0 )
|
if( rc > 0 )
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_LCD_COLOR
|
||||||
smooth_resize_bitmap( &temp_bitmap, &main_bitmap );
|
smooth_resize_bitmap( &temp_bitmap, &main_bitmap );
|
||||||
|
#else
|
||||||
|
simple_resize_bitmap( &temp_bitmap, &main_bitmap );
|
||||||
|
#endif
|
||||||
puzzle_bmp_ptr = (const fb_data *)img_buf;
|
puzzle_bmp_ptr = (const fb_data *)img_buf;
|
||||||
rb->strcpy( img_buf_path, filename );
|
rb->strcpy( img_buf_path, filename );
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue