mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Backport/rewrites wmarquesr pt. 7.5
This commit is contained in:
parent
b280d25f8a
commit
fdfcbaa042
@ -1031,6 +1031,7 @@ static int menu_input_pointer_post_iterate(menu_file_list_cbs_t *cbs,
|
||||
int ret = 0;
|
||||
menu_input_t *menu_input = menu_input_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
bool check_overlay = settings ? !settings->menu.pointer.enable : false;
|
||||
|
||||
if (!menu_input)
|
||||
return -1;
|
||||
@ -1038,11 +1039,12 @@ static int menu_input_pointer_post_iterate(menu_file_list_cbs_t *cbs,
|
||||
return -1;
|
||||
menu_display_ctl(MENU_DISPLAY_CTL_HEADER_HEIGHT, &header_height);
|
||||
|
||||
if (!settings->menu.pointer.enable
|
||||
#ifdef HAVE_OVERLAY
|
||||
|| (settings->input.overlay_enable && input_overlay_is_alive())
|
||||
check_overlay = check_overlay ||
|
||||
(settings->input.overlay_enable && input_overlay_is_alive());
|
||||
#endif
|
||||
)
|
||||
|
||||
if (check_overlay)
|
||||
return 0;
|
||||
|
||||
if (menu_input->pointer.pressed[0])
|
||||
|
Loading…
x
Reference in New Issue
Block a user