mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-27 18:25:13 +01:00
Added search for parent art in scrolling list.
This commit is contained in:
parent
ac4cd7719b
commit
5e9c7f0448
@ -808,6 +808,20 @@ bool ScrollingList::allocateTexture(ComponentItemBinding *s)
|
||||
t = imageBuild.CreateImage(imagePath, item->fullTitle, scaleX_, scaleY_);
|
||||
}
|
||||
|
||||
// check collection path for art based on parent game name
|
||||
if(!t && item->cloneof != "")
|
||||
{
|
||||
config_.getMediaPropertyAbsolutePath(collectionName, imageType_, false, imagePath);
|
||||
t = imageBuild.CreateImage(imagePath, item->cloneof, scaleX_, scaleY_);
|
||||
}
|
||||
|
||||
// check sub-collection path for art based on parent game name
|
||||
if(!t && item->cloneof != "")
|
||||
{
|
||||
config_.getMediaPropertyAbsolutePath(item->collectionInfo->name, imageType_, false, imagePath);
|
||||
t = imageBuild.CreateImage(imagePath, item->cloneof, scaleX_, scaleY_);
|
||||
}
|
||||
|
||||
// check collection path for art based on system name
|
||||
if(!t)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user