Fixed copy/paste error causing input queue to be emptied on menu jump.

This commit is contained in:
Pieter Hulshoff
2020-11-15 15:54:58 +01:00
committed by Vincent-FK
parent 38e88c44d7
commit 0a3fa3957f
-9
View File
@@ -524,15 +524,6 @@ void RetroFE::run( )
case RETROFE_MENUJUMP_ENTER:
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;
}
break;