Skip to content

Commit

Permalink
menu widgets: reimplement fast forward widget
Browse files Browse the repository at this point in the history
  • Loading branch information
natinusala committed Apr 8, 2019
1 parent 5667c73 commit 7a7f444
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions retroarch.c
Original file line number Diff line number Diff line change
Expand Up @@ -4048,8 +4048,17 @@ static enum runloop_state runloop_check_state(

/* Display the fast forward state to the user, if needed. */
if (runloop_fastmotion)
runloop_msg_queue_push(
msg_hash_to_str(MSG_FAST_FORWARD), 1, 1, false, NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
{
#if defined(HAVE_MENU) && defined(HAVE_MENU_WIDGETS)
if (!video_driver_has_widgets() || !menu_widgets_set_fast_forward(true))
#endif
runloop_msg_queue_push(
msg_hash_to_str(MSG_FAST_FORWARD), 1, 1, false, NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
}
#if defined(HAVE_MENU) && defined(HAVE_MENU_WIDGETS)
else
menu_widgets_set_fast_forward(false);
#endif

old_button_state = new_button_state;
old_hold_button_state = new_hold_button_state;
Expand Down

0 comments on commit 7a7f444

Please sign in to comment.