mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-29 03:00:24 +00:00
commit
69e7c978c5
@ -580,8 +580,11 @@ static int menu_input_mouse(unsigned *action)
|
||||
if (!menu)
|
||||
return -1;
|
||||
|
||||
if (!settings->menu.mouse.enable || (settings->input.overlay_enable
|
||||
&& driver && driver->overlay))
|
||||
if (!settings->menu.mouse.enable
|
||||
#ifdef HAVE_OVERLAY
|
||||
|| (settings->input.overlay_enable && driver && driver->overlay)
|
||||
#endif
|
||||
)
|
||||
{
|
||||
menu->mouse.left = 0;
|
||||
menu->mouse.right = 0;
|
||||
@ -771,7 +774,11 @@ static int menu_input_mouse_post_iterate(menu_file_list_cbs_t *cbs,
|
||||
if (!menu)
|
||||
return -1;
|
||||
|
||||
if (!settings->menu.mouse.enable || (settings->input.overlay_enable && driver && driver->overlay))
|
||||
if (!settings->menu.mouse.enable
|
||||
#ifdef HAVE_OVERLAY
|
||||
|| (settings->input.overlay_enable && driver && driver->overlay)
|
||||
#endif
|
||||
)
|
||||
{
|
||||
menu->mouse.wheeldown = false;
|
||||
menu->mouse.wheelup = false;
|
||||
@ -845,7 +852,11 @@ static int menu_input_pointer_post_iterate(menu_file_list_cbs_t *cbs,
|
||||
if (!menu)
|
||||
return -1;
|
||||
|
||||
if (!settings->menu.pointer.enable || (settings->input.overlay_enable && driver && driver->overlay))
|
||||
if (!settings->menu.pointer.enable
|
||||
#ifdef HAVE_OVERLAY
|
||||
|| (settings->input.overlay_enable && driver && driver->overlay)
|
||||
#endif
|
||||
)
|
||||
return 0;
|
||||
|
||||
#if defined(HAVE_XMB)
|
||||
|
Loading…
Reference in New Issue
Block a user