mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-26 17:54:46 +01:00
Support for manufacturer tag.
This commit is contained in:
parent
6ee43b6b86
commit
5db3d3f174
@ -156,8 +156,16 @@ void ReloadableMedia::ReloadTexture()
|
||||
{
|
||||
std::string imagePath;
|
||||
Config.GetMediaPropertyAbsolutePath(GetCollectionName(), Type, imagePath);
|
||||
|
||||
ImageBuilder imageBuild;
|
||||
LoadedComponent = imageBuild.CreateImage(imagePath, selectedItem->GetFullTitle(), ScaleX, ScaleY);
|
||||
std::string imageBasename = selectedItem->GetFullTitle();
|
||||
|
||||
if(Utils::ToLower(imageBasename) == "manufacturer")
|
||||
{
|
||||
imageBasename = selectedItem->GetManufacturer();
|
||||
}
|
||||
|
||||
LoadedComponent = imageBuild.CreateImage(imagePath, imageBasename, ScaleX, ScaleY);
|
||||
|
||||
if (LoadedComponent != NULL)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user