From 3f1d902aada2f738b63e1d8f7a0fe6dc9181e929 Mon Sep 17 00:00:00 2001 From: Andre Leiradella Date: Wed, 14 Oct 2015 21:08:19 -0300 Subject: [PATCH] show achievement using osd messages --- cheevos.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cheevos.c b/cheevos.c index 4b97355771..ab09d23375 100644 --- a/cheevos.c +++ b/cheevos.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include "cheevos.h" @@ -1028,6 +1029,10 @@ static void test_cheevo_set( const cheevoset_t* set ) { RARCH_LOG( "ACHIEVEMENT! %s\n", cheevo->title ); RARCH_LOG( "ACHIEVEMENT! %s\n", cheevo->description ); + + rarch_main_msg_queue_push( cheevo->title, 0, 3 * 60, false ); + rarch_main_msg_queue_push( cheevo->description, 0, 5 * 60, false ); + cheevo->active = 0; } }