mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-12 09:48:51 +01:00
Fixed copy/paste error causing input queue to be emptied on menu jump.
This commit is contained in:
parent
38e88c44d7
commit
0a3fa3957f
@ -524,15 +524,6 @@ void RetroFE::run( )
|
|||||||
case RETROFE_MENUJUMP_ENTER:
|
case RETROFE_MENUJUMP_ENTER:
|
||||||
if (currentPage_->isIdle( ))
|
if (currentPage_->isIdle( ))
|
||||||
{
|
{
|
||||||
bool collectionInputClear = false;
|
|
||||||
config_.getProperty( "collectionInputClear", collectionInputClear );
|
|
||||||
if ( collectionInputClear )
|
|
||||||
{
|
|
||||||
// Empty event queue
|
|
||||||
SDL_Event e;
|
|
||||||
while ( SDL_PollEvent( &e ) );
|
|
||||||
input_.resetStates( );
|
|
||||||
}
|
|
||||||
state = RETROFE_IDLE;
|
state = RETROFE_IDLE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user