|
|
|
@@ -206,6 +206,9 @@ static int run_menu(menu_state* state, const file_list* files, |
|
|
|
(1 << Button_Select) )) { |
|
|
|
if (menu.cursor < (files->count - 1)) { |
|
|
|
++menu.cursor; |
|
|
|
} else if (buttons & (1 << Button_Select)) { |
|
|
|
// Wrap around on Select |
|
|
|
menu.cursor = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|