mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-27 18:25:13 +01:00
Updated launcher execution to execute. Fixed windows compile errors from refactor.
This commit is contained in:
parent
b8e7d708f1
commit
c0e086d55c
@ -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());
|
||||
|
||||
@ -383,7 +383,7 @@ bool Component::animate(bool loop)
|
||||
}
|
||||
else
|
||||
{
|
||||
elapsedTime = tween->duration;
|
||||
elapsedTime = static_cast<float>(tween->duration);
|
||||
}
|
||||
|
||||
float value = tween->animate(elapsedTime);
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user