mirror of
https://github.com/libretro/RetroArch
synced 2025-02-05 06:40:07 +00:00
overlay: reinitializing was causing the wrong overlay to show (#17331)
This commit is contained in:
parent
9dd6e85d2f
commit
7161069cfc
@ -5280,6 +5280,9 @@ static const char *input_overlay_path(bool want_osk)
|
||||
/* if there's an override, use it */
|
||||
if (retroarch_override_setting_is_set(RARCH_OVERRIDE_SETTING_OVERLAY_PRESET, NULL))
|
||||
return settings->paths.path_overlay;
|
||||
/* if there's no core, just return the default */
|
||||
if (string_is_empty(path_get(RARCH_PATH_CORE)))
|
||||
return settings->paths.path_overlay;
|
||||
|
||||
/* let's go hunting */
|
||||
fill_pathname_expand_special(overlay_directory,
|
||||
|
Loading…
x
Reference in New Issue
Block a user