image_info->free_artwork = FreeImage;
}
+void dumpImages()
+{
+ struct ListNode *node;
+
+ if (image_info->content_list == NULL)
+ return;
+
+ for (node = image_info->content_list; node != NULL; node = node->next)
+ {
+ ImageInfo *img_info = (ImageInfo *)node->content;
+
+ printf("---> '%s' [%d]\n",
+ img_info->source_filename,
+ img_info->num_references);
+ }
+}
+
void ReloadCustomImages()
{
#if 0
LoadArtworkConfig(image_info);
ReloadCustomArtworkList(image_info);
+
+ dumpImages();
}
void FreeAllImages()
}
free(artwork_info->dynamic_file_list);
-
artwork_info->dynamic_file_list = NULL;
- artwork_info->num_dynamic_file_list_entries = 0;
FreeCustomArtworkList(artwork_info, &artwork_info->dynamic_artwork_list,
&artwork_info->num_dynamic_file_list_entries);