mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-10 02:30:52 +00:00
Better Disc Control append focus (#14075)
This commit is contained in:
parent
2ff77a363e
commit
44a52b4617
@ -1157,11 +1157,10 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
path_content[0] = '\0';
|
||||
strlcpy(path_content, path_get(RARCH_PATH_CONTENT), sizeof(path_content));
|
||||
/* Remove archive browsed file from the path */
|
||||
if (strstr(path_content, "#"))
|
||||
{
|
||||
char *token = strtok(path_content, "#");
|
||||
while (token != NULL)
|
||||
token = strtok(NULL, "#");
|
||||
char *delim = (char*)strchr(path_content, '#');
|
||||
if (delim)
|
||||
*delim = '\0';
|
||||
}
|
||||
menu_driver_set_pending_selection(path_basename(path_content));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user