From 57503051ea33c619a92d9f795708e710897a338b Mon Sep 17 00:00:00 2001 From: Conn Date: Mon, 29 May 2017 23:49:40 +0100 Subject: [PATCH] xmb: allow transparency when emulation paused Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting). This is also the default behaviour of the rgui driver and is helpful for users to preview video/shader changes on the fly. --- gfx/video_driver.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 2bb8e0c289..ab3d9267d1 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -2502,9 +2502,8 @@ void video_driver_build_info(video_frame_info_t *video_info) video_info->xmb_alpha_factor = settings->uints.menu_xmb_alpha_factor; video_info->menu_wallpaper_opacity = settings->floats.menu_wallpaper_opacity; - if (!settings->bools.menu_pause_libretro) - video_info->libretro_running = (rarch_ctl(RARCH_CTL_IS_INITED, NULL) - && !rarch_ctl(RARCH_CTL_IS_DUMMY_CORE, NULL)); + video_info->libretro_running = (rarch_ctl(RARCH_CTL_IS_INITED, NULL) + && !rarch_ctl(RARCH_CTL_IS_DUMMY_CORE, NULL)); #else video_info->menu_is_alive = false; video_info->menu_footer_opacity = 0.0f;