mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
Fix savestate auto-index detection (#17351)
This commit is contained in:
parent
9c6e772497
commit
5399faaa9d
@ -1460,7 +1460,8 @@ static void scan_states(settings_t *settings,
|
||||
if (string_is_empty(dir_elem))
|
||||
continue;
|
||||
|
||||
_len = fill_pathname_base(elem_base, dir_elem, sizeof(elem_base));
|
||||
_len = strlen(dir_elem);
|
||||
fill_pathname_base(elem_base, dir_elem, sizeof(elem_base));
|
||||
|
||||
/* Only consider files with a '.state' extension
|
||||
* > i.e. Ignore '.state.auto', '.state.bak', etc. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user