mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 11:43:00 +00:00
(manual_content_scan) USe fill_pathname
This commit is contained in:
parent
a9b0e45013
commit
9b5007aefd
@ -923,7 +923,6 @@ bool manual_content_scan_get_task_config(
|
||||
manual_content_scan_task_config_t *task_config,
|
||||
const char *path_dir_playlist)
|
||||
{
|
||||
size_t _len;
|
||||
if (!task_config)
|
||||
return false;
|
||||
|
||||
@ -983,13 +982,11 @@ bool manual_content_scan_get_task_config(
|
||||
|
||||
/* Now we have a valid system name, can generate
|
||||
* a 'database' name... */
|
||||
_len = strlcpy(
|
||||
fill_pathname(
|
||||
task_config->database_name,
|
||||
task_config->system_name,
|
||||
sizeof(task_config->database_name));
|
||||
strlcpy(task_config->database_name + _len,
|
||||
".lpl",
|
||||
sizeof(task_config->database_name) - _len);
|
||||
sizeof(task_config->database_name));
|
||||
|
||||
/* ...which can in turn be used to generate the
|
||||
* playlist path */
|
||||
|
Loading…
x
Reference in New Issue
Block a user