mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
SaveStateSelectorUI: Make select/next hotkeys apply immediately
This commit is contained in:
parent
296a662e74
commit
d64bc193fd
|
@ -125,10 +125,7 @@ s32 SaveStateSelectorUI::GetSelectedStateSlot() const
|
|||
void SaveStateSelectorUI::SelectNextSlot()
|
||||
{
|
||||
if (!m_open)
|
||||
{
|
||||
Open();
|
||||
return;
|
||||
}
|
||||
|
||||
ResetOpenTimer();
|
||||
m_current_selection = (m_current_selection == static_cast<u32>(m_slots.size() - 1)) ? 0 : (m_current_selection + 1);
|
||||
|
@ -137,10 +134,7 @@ void SaveStateSelectorUI::SelectNextSlot()
|
|||
void SaveStateSelectorUI::SelectPreviousSlot()
|
||||
{
|
||||
if (!m_open)
|
||||
{
|
||||
Open();
|
||||
return;
|
||||
}
|
||||
|
||||
ResetOpenTimer();
|
||||
m_current_selection =
|
||||
|
|
Loading…
Reference in a new issue