mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-13 02:08:52 +01:00
Reduced input lag problem.
This commit is contained in:
parent
f4716ac8a8
commit
58801a1e2c
@ -351,9 +351,12 @@ void RetroFE::run()
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RETROFE_HIGHLIGHT_EXIT:
|
case RETROFE_HIGHLIGHT_EXIT:
|
||||||
if ((processUserInput(currentPage_) == RETROFE_HIGHLIGHT_REQUEST) ||
|
if ( processUserInput(currentPage_) == RETROFE_HIGHLIGHT_REQUEST)
|
||||||
(currentPage_->isGraphicsIdle() && currentPage_->isMenuScrolling()) ||
|
{
|
||||||
(currentPage_->isIdle()))
|
state = RETROFE_HIGHLIGHT_REQUEST;
|
||||||
|
}
|
||||||
|
else if ((currentPage_->isGraphicsIdle() && currentPage_->isMenuScrolling()) ||
|
||||||
|
(currentPage_->isIdle()))
|
||||||
{
|
{
|
||||||
currentPage_->onNewItemSelected();
|
currentPage_->onNewItemSelected();
|
||||||
state = RETROFE_HIGHLIGHT_LOAD_ART;
|
state = RETROFE_HIGHLIGHT_LOAD_ART;
|
||||||
@ -361,9 +364,12 @@ void RetroFE::run()
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case RETROFE_HIGHLIGHT_LOAD_ART:
|
case RETROFE_HIGHLIGHT_LOAD_ART:
|
||||||
if ((processUserInput(currentPage_) == RETROFE_HIGHLIGHT_REQUEST) ||
|
if ( processUserInput(currentPage_) == RETROFE_HIGHLIGHT_REQUEST)
|
||||||
(currentPage_->isGraphicsIdle() && currentPage_->isMenuScrolling()) ||
|
{
|
||||||
(currentPage_->isIdle()))
|
state = RETROFE_HIGHLIGHT_REQUEST;
|
||||||
|
}
|
||||||
|
else if ((currentPage_->isGraphicsIdle() && currentPage_->isMenuScrolling()) ||
|
||||||
|
(currentPage_->isIdle()))
|
||||||
{
|
{
|
||||||
currentPage_->highlightEnter();
|
currentPage_->highlightEnter();
|
||||||
state = RETROFE_HIGHLIGHT_ENTER;
|
state = RETROFE_HIGHLIGHT_ENTER;
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
std::string retrofe_version_major = "0";
|
std::string retrofe_version_major = "0";
|
||||||
std::string retrofe_version_minor = "7";
|
std::string retrofe_version_minor = "7";
|
||||||
std::string retrofe_version_build = "10";
|
std::string retrofe_version_build = "11";
|
||||||
|
|
||||||
|
|
||||||
std::string Version::getString()
|
std::string Version::getString()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user