mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-15 15:18:49 +00:00
Only call rarch_main_data_msg_queue_push if settings->menu.wallpaper
has a valid path set
This commit is contained in:
parent
6c5a4a84b5
commit
004dcf0bf1
@ -478,6 +478,7 @@ static void *glui_init(void)
|
|||||||
|
|
||||||
glui_allocate_white_texture(glui);
|
glui_allocate_white_texture(glui);
|
||||||
|
|
||||||
|
if (settings->menu.wallpaper[0] != '\0')
|
||||||
rarch_main_data_msg_queue_push(DATA_TYPE_IMAGE,
|
rarch_main_data_msg_queue_push(DATA_TYPE_IMAGE,
|
||||||
settings->menu.wallpaper, "cb_menu_wallpaper", 0, 1, true);
|
settings->menu.wallpaper, "cb_menu_wallpaper", 0, 1, true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user