mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-12 17:58:53 +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:
|
||||
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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user