fix "can't enter codes on ScreenTitleMenu if UseDedicatedMenuButtons is on"
This commit is contained in:
@@ -237,12 +237,12 @@ void ScreenTitleMenu::Input( const DeviceInput& DeviceI, const InputEventType ty
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !MenuI.IsValid() )
|
|
||||||
return;
|
|
||||||
|
|
||||||
if( m_In.IsTransitioning() || m_Back.IsTransitioning() ) /* not m_Out */
|
if( m_In.IsTransitioning() || m_Back.IsTransitioning() ) /* not m_Out */
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if( MenuI.IsValid() )
|
||||||
|
{
|
||||||
switch( MenuI.button )
|
switch( MenuI.button )
|
||||||
{
|
{
|
||||||
case MENU_BUTTON_UP:
|
case MENU_BUTTON_UP:
|
||||||
@@ -276,6 +276,7 @@ void ScreenTitleMenu::Input( const DeviceInput& DeviceI, const InputEventType ty
|
|||||||
if( !m_Out.IsTransitioning() )
|
if( !m_Out.IsTransitioning() )
|
||||||
StartTransitioning( SM_GoToNextScreen );
|
StartTransitioning( SM_GoToNextScreen );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// detect codes
|
// detect codes
|
||||||
if( CodeDetector::EnteredCode(GameI.controller,CodeDetector::CODE_NEXT_THEME) ||
|
if( CodeDetector::EnteredCode(GameI.controller,CodeDetector::CODE_NEXT_THEME) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user