diff --git a/RetroFE/Source/Database/Configuration.cpp b/RetroFE/Source/Database/Configuration.cpp index f9cf2dc..ff8c92b 100644 --- a/RetroFE/Source/Database/Configuration.cpp +++ b/RetroFE/Source/Database/Configuration.cpp @@ -55,7 +55,7 @@ void Configuration::initialize() GetModuleFileName(hModule, exe, MAX_PATH); std::string sPath(exe); sPath = Utils::getDirectory(sPath); - sPath = Utils::GetParentDirectory(sPath); + sPath = Utils::getParentDirectory(sPath); #else char exepath[1024]; sprintf(exepath, "/proc/%d/exe", getpid()); diff --git a/RetroFE/Source/Graphics/Component/Component.cpp b/RetroFE/Source/Graphics/Component/Component.cpp index 5540cb5..a95c591 100644 --- a/RetroFE/Source/Graphics/Component/Component.cpp +++ b/RetroFE/Source/Graphics/Component/Component.cpp @@ -383,7 +383,7 @@ bool Component::animate(bool loop) } else { - elapsedTime = tween->duration; + elapsedTime = static_cast(tween->duration); } float value = tween->animate(elapsedTime); diff --git a/RetroFE/Source/RetroFE.cpp b/RetroFE/Source/RetroFE.cpp index 1ce9bbe..5824a54 100644 --- a/RetroFE/Source/RetroFE.cpp +++ b/RetroFE/Source/RetroFE.cpp @@ -308,7 +308,7 @@ void RetroFE::run() case RETROFE_LAUNCH_REQUEST: nextPageItem_ = currentPage_->getSelectedItem(); - l.run(currentPage_->getCollectionName(), nextPageItem_); + l.run(nextPageItem_->collectionInfo->name, nextPageItem_); state = RETROFE_IDLE; break;