Updated launcher execution to execute. Fixed windows compile errors from refactor.

This commit is contained in:
emb 2015-07-02 07:50:06 -05:00
parent b8e7d708f1
commit c0e086d55c
3 changed files with 3 additions and 3 deletions

View File

@ -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());

View File

@ -383,7 +383,7 @@ bool Component::animate(bool loop)
}
else
{
elapsedTime = tween->duration;
elapsedTime = static_cast<float>(tween->duration);
}
float value = tween->animate(elapsedTime);

View File

@ -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;