mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-24 10:24:55 +00:00
Revert "xmb: enable menu transparency support when emulation is paused"
This reverts commit 17d0037bd529d5f21f08dd002f88746028a05ecd.
This commit is contained in:
parent
6e3b60a91a
commit
44b4a4e028
@ -1063,8 +1063,7 @@ static bool video_driver_init_internal(bool *video_is_threaded)
|
||||
command_event(CMD_EVENT_OVERLAY_DEINIT, NULL);
|
||||
command_event(CMD_EVENT_OVERLAY_INIT, NULL);
|
||||
|
||||
if (!frame_cache_data)
|
||||
video_driver_cached_frame_set(&dummy_pixels, 4, 4, 8);
|
||||
video_driver_cached_frame_set(&dummy_pixels, 4, 4, 8);
|
||||
|
||||
#if defined(PSP)
|
||||
video_driver_set_texture_frame(&dummy_pixels, false, 1, 1, 1.0f);
|
||||
@ -2503,7 +2502,9 @@ 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;
|
||||
|
||||
video_info->libretro_running = core_is_game_loaded();
|
||||
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));
|
||||
#else
|
||||
video_info->menu_is_alive = false;
|
||||
video_info->menu_footer_opacity = 0.0f;
|
||||
|
@ -2582,7 +2582,7 @@ static void xmb_draw_bg(
|
||||
if (!running && draw.texture)
|
||||
draw.color = &coord_white[0];
|
||||
|
||||
if (running || video_info->xmb_color_theme == XMB_THEME_WALLPAPER)
|
||||
if (video_info->xmb_color_theme == XMB_THEME_WALLPAPER)
|
||||
add_opacity = true;
|
||||
|
||||
menu_display_draw_bg(&draw, video_info, add_opacity);
|
||||
|
@ -543,7 +543,7 @@ void menu_display_draw_bg(menu_display_ctx_draw_t *draw,
|
||||
|
||||
draw->coords = &coords;
|
||||
|
||||
if (draw->texture)
|
||||
if (!video_info->libretro_running && !draw->pipeline.active)
|
||||
add_opacity_to_wallpaper = true;
|
||||
|
||||
if (add_opacity_to_wallpaper)
|
||||
|
Loading…
x
Reference in New Issue
Block a user