From e505d702dfd045b8ce1f4a6d9fa6fa5da1c62abe Mon Sep 17 00:00:00 2001 From: Don Honerbrink Date: Thu, 2 Jul 2015 15:22:14 -0500 Subject: [PATCH] overrwrite video paths --- RetroFE/Source/Graphics/Component/ReloadableMedia.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/RetroFE/Source/Graphics/Component/ReloadableMedia.cpp b/RetroFE/Source/Graphics/Component/ReloadableMedia.cpp index 714f864..f0fc346 100644 --- a/RetroFE/Source/Graphics/Component/ReloadableMedia.cpp +++ b/RetroFE/Source/Graphics/Component/ReloadableMedia.cpp @@ -167,12 +167,12 @@ void ReloadableMedia::reloadTexture() if(systemMode_) { // only look through the master collection for the system artifact - loadedComponent_ = findComponent(collectionName, type_, type_, true); + loadedComponent_ = findComponent(collectionName, "video", "video", true); } else { // check the master collection for the artifact - loadedComponent_ = findComponent(collectionName, type_, basename, false); + loadedComponent_ = findComponent(collectionName, "video", basename, false); if(!loadedComponent_ && selectedItem->collectionInfo->hasSubcollections()) { @@ -184,7 +184,7 @@ void ReloadableMedia::reloadTexture() else { // item is a submenu, check the subcollection for system artwork artifacts - loadedComponent_ = findComponent(selectedItem->collectionInfo->name, type_, type_, true); + loadedComponent_ = findComponent(selectedItem->collectionInfo->name, "video", "video", true); } } } @@ -285,6 +285,7 @@ Component *ReloadableMedia::findComponent(std::string collection, std::string ty // check the system folder config_.getMediaPropertyAbsolutePath(collection, type, systemMode, imagePath); +std::cout << "searching path: " << imagePath << " =>" << basename << std::endl; if(type == "video") {