Enable overlay by default only on mobile + winraw overlay fix

This commit is contained in:
sonninnos 2023-07-18 21:41:08 +03:00 committed by LibretroAdmin
parent 9337facd49
commit c798cbaf3f
2 changed files with 5 additions and 1 deletions

View File

@ -1468,7 +1468,11 @@ bool config_overlay_enable_default(void)
{
if (g_defaults.overlay_set)
return g_defaults.overlay_enable;
#if defined(RARCH_MOBILE)
return true;
#else
return false;
#endif
}
static struct config_array_setting *populate_settings_array(settings_t *settings, int *size)

View File

@ -414,7 +414,7 @@ static void winraw_update_mouse_state(winraw_input_t *wr,
{
settings_t *settings = config_get_ptr();
if ( settings->bools.input_overlay_enable
&& settings->bools.input_overlay_show_mouse_cursor)
&& !string_is_empty(settings->paths.path_overlay))
getcursorpos = true;
}