Fix priority and timing of FPS and Fast Forward messages

This commit is contained in:
Rob Loach 2017-11-18 11:05:38 -05:00
parent 7f38177246
commit 5a990841dc
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A
2 changed files with 3 additions and 2 deletions

View File

@ -2407,8 +2407,9 @@ void video_driver_frame(const void *data, unsigned width,
video_driver_frame_count++;
// Display the FPS, with a higher priority.
if (video_info.fps_show)
runloop_msg_queue_push(video_info.fps_text, 1, 1, false);
runloop_msg_queue_push(video_info.fps_text, 2, 1, true);
}
void video_driver_display_type_set(enum rarch_display_type type)

View File

@ -2792,7 +2792,7 @@ 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), 2, 15, true);
msg_hash_to_str(MSG_FAST_FORWARD), 1, 1, false);
}
old_button_state = new_button_state;