fix overlapping icons if you have both themes and splashes (#105)

This commit is contained in:
LiquidFenrir
2017-12-08 18:11:52 +01:00
committed by Dylan G
parent adf2a50143
commit fb18dce177
3 changed files with 35 additions and 9 deletions

View File

@@ -134,7 +134,8 @@ Result load_entries(const char * loading_path, Entry_List_s * list)
current_entry->is_zip = !strcmp(dir_entry.shortExt, "ZIP");
ssize_t iconID = TEXTURE_ICON + list->entries_count;
ssize_t iconID = list->icon_id_start + list->entries_count - 1;
DEBUG("id: %u\n", iconID);
parse_smdh(current_entry, iconID, dir_entry.name);
}