mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Const'ed the logo, the bitmaps and the credits (optimization for running from ROM)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4896 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5846aab654
commit
638dd6786a
10 changed files with 25 additions and 30 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
int filetype_get_attr(char*);
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
char* filetype_get_icon(int);
|
||||
const char* filetype_get_icon(int);
|
||||
#else
|
||||
int filetype_get_icon(int);
|
||||
#endif
|
||||
|
@ -37,7 +37,7 @@ int filetype_load_plugin(char*,char*);
|
|||
|
||||
struct file_type {
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
unsigned char* icon; /* the icon which shall be used for it, NULL if unknown */
|
||||
const unsigned char* icon; /* the icon which shall be used for it, NULL if unknown */
|
||||
#else
|
||||
int icon; /* the icon which shall be used for it, -1 if unknown */
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue