Skip to content

Commit 7161069

Browse files
authored
overlay: reinitializing was causing the wrong overlay to show (#17331)
1 parent 9dd6e85 commit 7161069

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

input/input_driver.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5280,6 +5280,9 @@ static const char *input_overlay_path(bool want_osk)
52805280
/* if there's an override, use it */
52815281
if (retroarch_override_setting_is_set(RARCH_OVERRIDE_SETTING_OVERLAY_PRESET, NULL))
52825282
return settings->paths.path_overlay;
5283+
/* if there's no core, just return the default */
5284+
if (string_is_empty(path_get(RARCH_PATH_CORE)))
5285+
return settings->paths.path_overlay;
52835286

52845287
/* let's go hunting */
52855288
fill_pathname_expand_special(overlay_directory,

0 commit comments

Comments
 (0)