mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-28 09:38:52 +01:00
Changed splash interrupt to only react to select key, and use the key status
rather than SDL events.
This commit is contained in:
parent
026e82e97f
commit
c3eec64cfc
@ -333,9 +333,17 @@ void RetroFE::run( )
|
||||
SDL_Event e;
|
||||
if ( splashMode && SDL_PollEvent( &e ) )
|
||||
{
|
||||
if ( input_.update( e ) )
|
||||
if ( input_.update( e ) && input_.keystate(UserInput::KeyCodeSelect) )
|
||||
{
|
||||
exitSplashMode = true;
|
||||
while ( SDL_PollEvent( &e ) )
|
||||
{
|
||||
if ( e.type == SDL_JOYDEVICEADDED || e.type == SDL_JOYDEVICEREMOVED )
|
||||
{
|
||||
input_.update( e );
|
||||
}
|
||||
}
|
||||
input_.resetStates( );
|
||||
attract_.reset( );
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
|
||||
std::string retrofe_version_major = "0";
|
||||
std::string retrofe_version_minor = "8";
|
||||
std::string retrofe_version_build = "15b4";
|
||||
std::string retrofe_version_build = "15b5";
|
||||
|
||||
|
||||
std::string Version::getString( )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user