Reduced input lag problem.

This commit is contained in:
Pieter Hulshoff 2016-09-02 10:08:43 +02:00
parent f4716ac8a8
commit 58801a1e2c
2 changed files with 13 additions and 7 deletions

View File

@ -351,9 +351,12 @@ void RetroFE::run()
break;
case RETROFE_HIGHLIGHT_EXIT:
if ((processUserInput(currentPage_) == RETROFE_HIGHLIGHT_REQUEST) ||
(currentPage_->isGraphicsIdle() && currentPage_->isMenuScrolling()) ||
(currentPage_->isIdle()))
if ( processUserInput(currentPage_) == RETROFE_HIGHLIGHT_REQUEST)
{
state = RETROFE_HIGHLIGHT_REQUEST;
}
else if ((currentPage_->isGraphicsIdle() && currentPage_->isMenuScrolling()) ||
(currentPage_->isIdle()))
{
currentPage_->onNewItemSelected();
state = RETROFE_HIGHLIGHT_LOAD_ART;
@ -361,9 +364,12 @@ void RetroFE::run()
break;
case RETROFE_HIGHLIGHT_LOAD_ART:
if ((processUserInput(currentPage_) == RETROFE_HIGHLIGHT_REQUEST) ||
(currentPage_->isGraphicsIdle() && currentPage_->isMenuScrolling()) ||
(currentPage_->isIdle()))
if ( processUserInput(currentPage_) == RETROFE_HIGHLIGHT_REQUEST)
{
state = RETROFE_HIGHLIGHT_REQUEST;
}
else if ((currentPage_->isGraphicsIdle() && currentPage_->isMenuScrolling()) ||
(currentPage_->isIdle()))
{
currentPage_->highlightEnter();
state = RETROFE_HIGHLIGHT_ENTER;

View File

@ -20,7 +20,7 @@
std::string retrofe_version_major = "0";
std::string retrofe_version_minor = "7";
std::string retrofe_version_build = "10";
std::string retrofe_version_build = "11";
std::string Version::getString()