This commit is contained in:
twinaphex 2019-06-18 01:23:23 +02:00
parent b08328897a
commit 3af449a445
1 changed files with 14 additions and 13 deletions

View File

@ -329,17 +329,16 @@ static void msg_widget_msg_transition_animation_done(void *userdata)
msg->msg_transition_animation = 0.0f;
}
static bool menu_widgets_msg_queue_push_internal(retro_task_t *task, const char *msg,
static bool menu_widgets_msg_queue_push_internal(
retro_task_t *task, const char *msg,
unsigned duration,
char *title,
enum message_queue_icon icon, enum message_queue_category category,
enum message_queue_icon icon,
enum message_queue_category category,
unsigned prio, bool flush)
{
menu_widget_msg_t* msg_widget = NULL;
if (!menu_widgets_inited)
return false;
#ifdef HAVE_THREADS
runloop_msg_queue_lock();
#endif
@ -524,7 +523,9 @@ bool menu_widgets_msg_queue_push(const char *msg,
enum message_queue_icon icon, enum message_queue_category category,
unsigned prio, bool flush)
{
if (menu_widgets_inited)
return menu_widgets_msg_queue_push_internal(NULL, msg, duration, title, icon, category, prio, flush);
return false;
}
static void menu_widgets_unfold_end(void *userdata)