From 03e3e3f5206cbb1e3b90e9479d62d3f30ec22c53 Mon Sep 17 00:00:00 2001 From: natinusala Date: Sat, 4 May 2019 16:31:30 +0200 Subject: [PATCH] menu_widgets: notifications duration is now framerate independent --- retroarch.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/retroarch.c b/retroarch.c index 6c7acdcc2f..ec37c6b4cf 100644 --- a/retroarch.c +++ b/retroarch.c @@ -3169,14 +3169,9 @@ void runloop_msg_queue_push(const char *msg, { runloop_ctx_msg_info_t msg_info; #if defined(HAVE_MENU) && defined(HAVE_MENU_WIDGETS) - float target_hz = 0.0; - - rarch_environment_cb(RETRO_ENVIRONMENT_GET_TARGET_REFRESH_RATE, &target_hz); - if (menu_widgets_msg_queue_push(msg, - duration / target_hz * 1000, title, icon, category, prio, flush)) + duration / 60 * 1000, title, icon, category, prio, flush)) return; - #endif #ifdef HAVE_THREADS