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

This commit is contained in:
Pieter Hulshoff 2018-06-24 13:15:38 +02:00 committed by Vincent-FK
parent 38e88c44d7
commit 0a3fa3957f

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;