Skip to content

Commit

Permalink
overlay: reinitializing was causing the wrong overlay to show (#17331)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored Jan 2, 2025
1 parent 9dd6e85 commit 7161069
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions input/input_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7161069

Please sign in to comment.