forked from len0rd/rockbox
Add read_<image>_fd functions to plugin API, add feature_wrappers.h handling for them, and add read_image.[ch] wrapper for reading image files with automatic type detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20840 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
75f2629778
commit
3d4c68bb06
6 changed files with 105 additions and 5 deletions
|
@ -43,8 +43,10 @@
|
|||
*/
|
||||
#if LCD_DEPTH > 1
|
||||
#define scaled_read_bmp_file rb->read_bmp_file
|
||||
#define scaled_read_bmp_fd rb->read_bmp_fd
|
||||
#else
|
||||
#define scaled_read_bmp_file read_bmp_file
|
||||
#define scaled_read_bmp_fd read_bmp_fd
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue