Skip to content

Commit 601fd41

Browse files
committed
Fix single-click playlist Enter select
1 parent f01b606 commit 601fd41

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

menu/menu_driver.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5443,6 +5443,12 @@ unsigned menu_event(
54435443
navigation_current |= (1 << navigation_buttons[i]);
54445444
}
54455445

5446+
/* Ignore Start when both Start and OK are pressed
5447+
* by non-unified menu input (Enter) */
5448+
if ( BIT256_GET_PTR(p_input, RETRO_DEVICE_ID_JOYPAD_START)
5449+
&& BIT256_GET_PTR(p_input, menu_ok_btn))
5450+
navigation_current &= ~(1 << RETRO_DEVICE_ID_JOYPAD_START);
5451+
54465452
if (navigation_current)
54475453
{
54485454
float delta_time = (float)(menu_st->current_time_us - last_time_us) / 1000;

0 commit comments

Comments
 (0)