mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
move inbuilt_filetypes.icon to a separate struct
there are a lot of duplicated icons in the inbuilt_filetypes struct its only used at load so deduplicate and look-up by attr Change-Id: I5eb34e5243d88688984f689e0add08f92d953a6f
This commit is contained in:
parent
658cc95885
commit
2056878e46
2 changed files with 141 additions and 90 deletions
|
@ -53,9 +53,9 @@
|
|||
struct filetype {
|
||||
char* extension;
|
||||
int tree_attr;
|
||||
enum themable_icons icon;
|
||||
int voiceclip;
|
||||
};
|
||||
|
||||
void tree_get_filetypes(const struct filetype**, int*) INIT_ATTR;
|
||||
|
||||
/* init the filetypes structs.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue